| Author |
no of threads for servlet
|
Ankit Doshi
Ranch Hand
Joined: Dec 04, 2002
Posts: 222
|
|
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 ... Ankit
|
 |
Mike Nightsky
Ranch Hand
Joined: Aug 18, 2001
Posts: 48
|
|
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. Mike
|
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>
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12266
|
|
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
|
Java Resources at www.wbrogden.com
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: no of threads for servlet
|
|
|