-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Lars,

On 6/16/14, 5:40 AM, Lars Engholm Johansen wrote:
> Our sites can run for days without problems, but once in a while
> the tomcat connection count suddenly starts growing abnormally
> fast. See this graph:  http://imgur.com/s4fOUte netstat shows these
> TCP connections to be mostly in CLOSE_WAIT state.
> 
> Our sites still functions normally with no cpu spikes during this
> build up until around 60,000 connections, but then the server
> refuses further connections and a manual Tomcat restart is
> required.
> 
> We have no output in tomcat or our logs at the time when this event
> occurs. The only sign is when comparing full java thread dump with
> a dump from a newly launched Tomcat: One of
> http-nio-80-ClientPoller-0  or  http-nio-80-ClientPoller-1  is 
> missing/has died.

If the poller thread has died, you are completely SOL. Is there no
indication in any log why the poller thread died? Particularly, check
catalina.out for OOME or an exception that might kill such a thread.

Can you configure your logger to increase the log level for the poller
component? Actually, the NIO Poller only contains log.error messages
except for 2 @ debug that indicate encountering JDK 1.5 bugs, so
changing the log level probably won't help. The only other thing that
looks like it might cause complications would be an OOME, which should
definitely show up in the logs.

> Our connector configuration: <Connector acceptCount="1500" 
> acceptorThreadCount="4"

Have you observed a performance increase by setting
acceptorThreadCount to 4 instead of a lower number? I'm just curious.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTouYeAAoJEBzwKT+lPKRYf98P/0kYjX8jH1ZCvZ/FS9hXnYBw
hJtrcYHYe6ulPJLz66QU0FY0xNlu6ADISukW1njqcr7Cz/WJ8nIQI6fXnOVgcZj1
F/JLj4OhKQP8b0WA6NkN0KTtRBt/OsIZx4pp/VHBuBbkr2c/B7Ixfh3a15/XZjrl
TGa+KMUIvJp/gBuLCsrvmY39SACCfKvVAL6soe6+4LozURSpv/OdGBgitbiHY8sf
AqB2g4+psltMI5VGXC/wSPpmnIGfalgFyX1o1EshBeiz6sg6YejjHY5NI/eLcdW4
nfKRz+Dbm0y/uY3fs7U7tOvI2rhbXBXwu1XoscoGzlRaB4pD5nJLdIpczH4vBu2r
vjKyVE2v1QitpMr/hzsZkngSkiPe7JtnrQIQGqJ+pvgdtbpWhmOmG8OcCLR3xxH5
1arfgscgxCzH0apwuWZmO2kUXqDk9z7qyHuGHOMwFcoFfHaNUF6C83tlKEnGM0ME
pc+pCRwwVOIoLllVo1WizALFv/oI3MiWxs8C5FhibYqzpWAR1E6zfUz9YVarCqiV
F8Cu56mVlTD9bdtunvutfVcByOuVEqxw1cMKS5nVTKueKqIi1nKh8nr9c8OAK1QP
D0CeHAC6EDTTKjxUmRzApEq8LhrSCJVY6XxNdck1qeVoWp7nceQs5yrPW6t/70pE
BAbG0nqUNjrPqaJP98w9
=A3kD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to