tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Gomez" <henri.go...@gmail.com>
Subject Tomcat 6.0.4 and http thread releasing
Date Fri, 08 Dec 2006 11:02:37 GMT
Hi to all,

I'm doing some stress testing on Tomcat 6.0.4 on i5/OS with IBM Java 5
32 bits, no APR here.

I used ApacheBench to stress the Tomcat 6.0.4 sending about 1 million
requests on 100 concurrents connections (using keep alive).

I expected to see the number of HTTP thread to reduce after the test
but it's not the case, and that's what I see thru JConsole for all
HTTP threads


Name: http-18081-150
State: WAITING on org.apache.tomcat.util.net.JIoEndpoint$Worker@54ba54ba
Total blocked: 17  Total waited: 435

Stack trace:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:199)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:414)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:440)
java.lang.Thread.run(Thread.java:797)


Configuration is :

<Connector port="18081" maxHttpHeaderSize="8192"
           maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
           enableLookups="false" redirectPort="8443" acceptCount="100"
           connectionTimeout="20000" disableUploadTimeout="true" />

What could be the problem ?

FYI, the acceptCount is set to 100 and I tested ab2 with 125
connections and as such ab2 has been rejected since I think the 125
connections arrived in the same time.

Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message