-
1. Re: All threads are busy
bill.burke Feb 3, 2004 2:14 PM (in response to surajmundada)You using the 'default' jboss configuration?
If so, config file for tomcat is in
jboss/default/deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml
You should see maxProcessors attribute somewhere in there.
Bill -
2. Re: All threads are busy
surajmundada Feb 4, 2004 7:30 AM (in response to surajmundada)thanks Bill !
my jboss-service.xml contains following :
---------------------------------------------------------------------------------
<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="3" maxProcessors="10"
enableLookups="true" acceptCount="10" debug="0"
connectionTimeout="20000" useURIValidationHack="false" />
-----------------------------------------------------------------------------------
What is the maximum value I can put for maxProcessors ?
Is it the only parameter which I need to modify ?
Suraj -
3. Re: All threads are busy
surajmundada Feb 4, 2004 7:31 AM (in response to surajmundada)yes I am using the default configuration
-
4. Re: All threads are busy
juha Feb 6, 2004 10:55 AM (in response to surajmundada)Max depends how many concurrent threads your machine can handle and how many concurrent requests you expect to hit your web application. It's highly specific to your application, you can make some educated guesses but ultimately you need to load test on your production machine to find the ideal settings.