> From: Breno Jacinto [mailto:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]