You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Tuan H. Le" <tu...@phsadc.com> on 2002/12/17 01:37:32 UTC
How to increase max threads in Tomcat 4.1.12?
Hi,
When we ran a stress test on our application, it hang Tomcat service. We found an INFO message in stderr a message below
INFO: All threads are busy, waiting. Please increase maxThreads or check the servlet status200 200
I have tried to increase the maxProcessors in \conf\server.xml from 200 to 500 and 500 to 1000, but that didn't help. We ran a stress test with 200 concurrent users. Here's our sample setting for 500 max processor
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="10" bufferSize="2048" connectionTimeout="20000" debug="0" enableLookups="true" maxProcessors="500" minProcessors="5" port="8080" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" proxyPort="0" redirectPort="8443" scheme="https" secure="true" tcpNoDelay="true" useURIValidationHack="false">
<Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/>
</Connector>
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="10" bufferSize="2048" connectionTimeout="20000" debug="0" enableLookups="true" maxProcessors="500" minProcessors="5" port="8009" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" proxyPort="0" redirectPort="8443" scheme="https" secure="true" tcpNoDelay="true" useURIValidationHack="false">
<Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/>
</Connector>
How do we solve/increase the maxThreads issue?
Thanks,
Tuan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>