Per Tomcat Mail Archives and from Tomcat documentation,
http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html, I used 'Executor' to
remove idle threads.
I added Executor in service.xml,
<Executor name="appThreadpool" namePrefix="APP-http-"
maxThreads="200" minSpareThreads="50" maxIdleTime="60000"
/>
, and used the Executor in Connector,
<Connector executor="appThreadpool" ...... />
Now, after 60 seconds of running stress test, the HTTP thread count is back to 50-60.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203352#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...