tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Managing Tomcat 6 threads : How to make tomcat destroy threads when idle?
Date Tue, 07 Oct 2008 08:29:32 GMT
Rohan Sahgal wrote:
> 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.
> 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.

Correct - those parameters have no effect.

> 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.

Tomcat 5.x is not Tomcat 6.x. There are differences and this is one of them.

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

Sorry, no.


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message