You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrew Hole <an...@gmail.com> on 2007/12/10 19:39:55 UTC
Tomcat threads
Hello!
What's the value of Initial Number of Threads created on Tomcat startup?
Everytime it is necessary Tomcat creates another thread. What happens
after the processing end? The thread dies or becomes available for a
future processing?
Best regards
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Tomcat threads
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Andrew Hole [mailto:andremailinglist@gmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org