tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Worrying problem
Date Thu, 20 Nov 2003 18:35:11 GMT


>Sometimes it opens many threads and the command "tomcat4 stop" does
>stop all threads.
>I need to kill one by one. Why?

When you say sometimes, what do you mean exactly?  Can you reproduce it
in a test case?  Is there a correlation between high load on your system
and a high number of threads?  There should be.  By how much does the
number of threads exceed your maxProcessors as configured in server.xml?

The tomcat shutdown script (I don't know what tomcat4 stop is) will shut
down the tomcat engine itself.  If your app or code used by your app
starts non-daemon threads, you are responsible for closing them
yourself.  Tomcat cannot do that for you.  These threads will prevent a
proper shutdown.  This has been discussed many times on this list in the

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message