tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Hundreds of Instances
Date Tue, 04 Dec 2007 01:49:27 GMT
> From: Breno Jacinto [mailto:breno@freeunix.com.br] 
> Subject: Re: Hundreds of Instances
> 
> when does tomcat creates a new thread, and 
> when and how does it get deallocated?

This is controlled by the maxThreads, maxSpareThreads, and
minSpareThreads attributes of <Connector> elements:
http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

However, this may not be the "instances" Tomcat is talking about during
termination.  What is the exact message you're seeing?  It may be
related to the number of requests or servlets still active, which may
indicate you have a webapp that gets stalled and won't finish
processing.  That could easily result in excessive memory consumption.

 - 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


Mime
View raw message