1. Is there any limit on maximum no of threads that would be created for a servlet by default? (I'm using Tomcat 3.2) If yes, what is the value of this limit? 2. How can I change this limit in Tomcat 3.2? Is there any difference in the configuration of this limit for Tomcat 3 and Tomcat 4? 3. If I increase the maximum no of threads, what OS level limitation would I need to take care of? Like default socket close timeout or what else ...
Joined: Aug 18, 2001
i don't know of such a thread limitation. the only thing i know what is limitating you is the number of open processes that your os could handle. Linux before kernel 2.6, which you could adjust at compiling the kernel.
Win the opportunity to make money on the Internet<br /><a href="http://sweeps.sitesell.com/minirich.html" target="_blank" rel="nofollow">http://sweeps.sitesell.com/minirich.html</a>
Author and all-around good cowpoke
Joined: Mar 22, 2000
In Tomcat 4 there are configuration settings for the default and max number of request processing Threads - I think the same parameters were used in tomcat 3. Look in server.xml for something like: minProcessors="5" maxProcessors="75" Bill