Re: Tomcat resets the connection during load

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > There is a proposal to log a message when [the thread pool is > exhausted and accept queue is full] but with current versions you > won't see anything in the logs. Can Java even detect the second of those two conditions? I

Re: Tomcat resets the connection during load

2009-02-03 Thread Barak Yaish
Ok, will try to search after the relevant attributes in jconsole, for the mean time I ran ab against a load balancer connected to 3 Tomcat on 3 different boxes and the scenario repeated it self: [ad...@ltse1 ~]$ ab -n 2 -k -c 1500 " http://lbmachine/scale/ctx1?cc=123456"; This is ApacheBench,

Re: Tomcat resets the connection during load

2009-02-03 Thread Mark Thomas
Barak Yaish wrote: > How can I determine that? I haven't seen any exception in catalina.out Monitor the current thread usage (eg with LambdaProbe, JMC console, manager app) > regarding out of threads... There is a proposal to log a message when this happens but with current versions you won't se

Re: Tomcat resets the connection during load

2009-02-03 Thread Barak Yaish
How can I determine that? I haven't seen any exception in catalina.out regarding out of threads... On Tue, Feb 3, 2009 at 6:35 AM, Mark Thomas wrote: > Barak Yaish wrote: > > > I've records the traffic using Wireshark (http://www.wireshark.org), and > > I've noticed that Tomcat send TCP Reset to

Re: Tomcat resets the connection during load

2009-02-02 Thread Mark Thomas
Barak Yaish wrote: > I've records the traffic using Wireshark (http://www.wireshark.org), and > I've noticed that Tomcat send TCP Reset to the client, before it writes the > reponse to the stream. > > Can you please assist understanding this behavior and tuning Tomcat in order > to avoid these pr

Tomcat resets the connection during load

2009-02-02 Thread Barak Yaish
I'm running a Tomcat 6.0.16 (native library is compiled )on a Linux box (CentOS 5), java version is: java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) The connection configuration is: I've deployed my we