Re: when memory leak, tomcat can't accept requests?

2010-07-10 Thread Pid
On 10/07/2010 06:32, jikai wrote: Hi all: Out web site use Nginx infront of tomcat6.0.28, nio connector, in heavy load running about 24 hours, tomcat can't accept request, we must restart tomcat . check nginx error log, there are lots of Connection timed out, print tomcat jstack,

Re: when memory leak, tomcat can't accept requests?

2010-07-10 Thread jikai
I give more details when error occurs: 1) nginx suddently report lots of Connection timed out like this 2010/07/09 19:26:37 [error] 11558#0: *3067544729 connect() failed (110: Connection timed out) while connecting to upstream, ... 2) there are still a few requests can connect tomcat and well

Re: when memory leak, tomcat can't accept requests?

2010-07-10 Thread Pid
On 10/07/2010 08:55, jikai wrote: I give more details when error occurs: 1) nginx suddently report lots of Connection timed out like this 2010/07/09 19:26:37 [error] 11558#0: *3067544729 connect() failed (110: Connection timed out) while connecting to upstream, ... 2) there are still a few

Re: when memory leak, tomcat can't accept requests?

2010-07-10 Thread jikai
Because it's already saturated with requests? No server has an infinite capacity. How many threads did jstack report were running? Can you connect with JMX and see what state the connector is in? Are you using an Executor in combination with your Connector? Thanks for your quick reply. we

Re: when memory leak, tomcat can't accept requests?

2010-07-10 Thread Pid
On 10/07/2010 10:19, jikai wrote: Because it's already saturated with requests? No server has an infinite capacity. How many threads did jstack report were running? Can you connect with JMX and see what state the connector is in? Are you using an Executor in combination with your

Re: when memory leak, tomcat can't accept requests?

2010-07-10 Thread André Warnier
Pid wrote: On 10/07/2010 10:19, jikai wrote: Because it's already saturated with requests? No server has an infinite capacity. How many threads did jstack report were running? Can you connect with JMX and see what state the connector is in? Are you using an Executor in combination with your

when memory leak, tomcat can't accept requests?

2010-07-09 Thread jikai
Hi all: Out web site use Nginx infront of tomcat6.0.28, nio connector, in heavy load running about 24 hours, tomcat can't accept request, we must restart tomcat . check nginx error log, there are lots of Connection timed out, print tomcat jstack, found most tomcat threads is TIMED_WAITING,