> From: Andrew Hole [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat threads
> 
> What's the value of Initial Number of Threads created on 
> Tomcat startup?

Whatever you configured on your <Connector> elements:
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html

> Everytime it is necessary Tomcat creates another thread. What happens
> after the processing end? The thread dies or becomes available for a
> future processing?

Hmmm... this was described in the 5.5 docs:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

but descriptions of the maxSpareThreads and minSpareThreads attributes
seem to have disappeared from the 6.0 <Connector> docs.  They're still
in the source code, just not in the doc.  I wonder if their function was
supposed to be handled by the <Executor> element?  (As I recall, Remy M
recommended against using an <Executor>, at least for the time being,
due to performance issues.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to