Hi,
Sorry, I'm using 4.1.24. I'm considering upgrading to 4.1.30.
I'm pretty sure minSpareThreads in 4.1.30 and 5.0.19 works as documented: i.e. threads are greedily created on startup. I didn't try minProcessors in earlier 4.1 releases. It'd be simple to test either one as you've already partially done. So I'd recommend upgrading to 4.1.30 if you want to stick to the 4.1.x branch.
I've confirmed that minProcessors and minSpareThreads does not work as documented on 4.1.30. I set minSpareThreads="30" and minProcessors="50". I started tomcat, then sent 1 request to the server, and forced a thread dump. I see TP-Processor[1-4] in the dump (note that "4" is default value for minSpareThreads). I then sent concurrent requests, and did another dump. Now I see TP-Processors[1-20].
org.apache.catalina.connector.http.HttpConnector does start the requested number of threads, in a simple loop.
I'll file a bug unless someone has any other ideas. It looks like 4.1.30 doesn't pass the minSpareThreads attribute on the <Connector> in server.xml.
-Steve
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
