CPU level is not coming back to a normal level
- From: "Caldarale, Charles R" <Chuck.Caldarale (at) unisys.com>
- Date: Thu, 12 Oct 2006 16:49:56 -0500
> From: alberty.pascal (at) gmail.com
> [mailto:alberty.pascal (at) gmail.com] On Behalf Of Pascal Alberty
> Subject: CPU level is not coming back to a normal level
>
> When I'm testing the new servlet on my dev box, all is ok. When i'm
> running the same servlet on the prod box, Tomcat is reaching almost 2
> x 100% CPUs for about 4 to 7 seconds.
Does this period coincide with garbage collection? (Although 4 - 7
seconds is rather long for a GC.) Have you tried using a profiler to
see where the threads are spending their time?
> how can I ask Tomcat to kill these non working threads ?
What do you have maxSpareThreads for each of your connectors set to?
Look here for the HTTP connector doc:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
or here for AJP:
http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html
- 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 (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org