tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Worrying problem
Date Thu, 20 Nov 2003 19:03:30 GMT

Howdy,

>2 -3 times by day. I don't know exactly what is causing the problem.
>I can't reproduce that.

You're going to have a tough time getting help solving a problem you
can't reproduce.

>>Is there a correlation between high load on your system
>>and a high number of threads?  There should be.
>CPU was 70% free.

I didn't ask about the CPU load: I meant users hitting your webapp.  The
70% CPU free doesn't mean much, because your apps may not be CPU-bound.

>>By how much does the
>>number of threads exceed your maxProcessors as configured in
server.xml?
>In server.xml maxProcessors="75" for but there is about 90 threads in
the
>system (ps -ef).

This is why I was asking about the user load.  If there's a high load,
and tomcat created 75 request processing threads, 90 is not a surprising
number of total threads.  You always have a handful from the VM.  You
can see what threads are present using kill -s QUIT <processId>.

>>The tomcat shutdown script (I don't know what tomcat4 stop is) will
shut
>>down the tomcat engine itself.
>It's equivalent to catalina.sh stop. I never use shutdown.sh.

Why not use shutdown.sh, since that just calls catalina.sh stop mostly,
if your script is truly equivalent?

>I don't create any threads.

Can you say the same for the 3rd party code you use, if any?

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message