Hi, I am using tomcat 7.0.25 on linux and java 6u30 to perform some load
testing, and came to this observation.

Performing some ab (apache benchmark) tests as specified in [1] and the http
connector configured as:

- references to an executor as
    <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4"/>

- without an executor  and with a minSpareThreads="15" in the connector

- no minSpareThreads at connector and references to executor 

After 60s of the ab test, I see all request processor threads are terminated
(reported by jstack PID or ps -p PID -o nlwp).  But accordingly to the
connector documentation "The minimum number of threads always kept running."  

Is the connector docs wrong or is it a bug in the connector threading
implementation ?

    <Connector port="8080" protocol="HTTP/1.1" minSpareThreads="15"
               connectionTimeout="20000" processorCache="150"
               redirectPort="8443" maxThreads="1024"/>


1. ab  -n 50000 -c 1000
'http://localhost:8080/examples/servlets/servlet/SessionExample?dataname=foo&datavalue=bar'

--
View this message in context: 
http://tomcat.10.n6.nabble.com/looks-minSpareThreads-is-not-honored-tc-7-0-25-tp4500594p4500594.html
Sent from the Tomcat - User mailing list archive at Nabble.com.

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

Reply via email to