tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohan Sahgal" <>
Subject Managing Tomcat 6 threads : How to make tomcat destroy threads when idle?
Date Mon, 06 Oct 2008 22:42:01 GMT

I tried increasing the number of tomcat threads.

However, I cannot get tomcat to destroy the threads once they get created
even though tomcat is idle.

I have modified my connector as follows :-
<Connector port="8080" protocol="HTTP/1.1"
                maxThreads="2000" minSpareThreads="20" maxSpareThreads="100"
               redirectPort="8443" />

However I have observed that once 2000 threads are created (I am monitoring
with jconsole), the number never comes down.
The minSpareThreads and maxSpareThreads are ignored.

I could not find their mention in the tomcat docs either, but this was
something I found on a blog post for Tomcat 5.x.

Is there a way to make tomcat reduce the number of threads?

Appreciate all the help.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message