tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon Rosenberg <rosenberg.l...@gmail.com>
Subject Re: Need help in understanding tomcat thread dump
Date Tue, 11 Jan 2011 12:30:24 GMT
Hello,

On Tue, Jan 11, 2011 at 1:11 PM, Amol Puglia <amolcpuglia@yahoo.com> wrote:
> Hello Ronald,
>
> The major issue is apache process is goinfg very high and not coming down.

what exactly is "going very high"?

Do you mean that the number of apache processes increases? If so could
it be, that your (or whosever) MUXServlet is sleeping (SLEEPING?!) in
its post method.
As a result the apache worker process is bound to the sleeping tomcat
processor (aka thread), andI assume that each following request to the
same servlet will produce one more
sleeping processor and one more sleeping worker, until there are no
more workers or processors left, whatever comes first.
But to answer it definitely, one would need to see the code of the
MuxServlet (or the complete thread dump).

regards
Leon

P.S. Side note, I can barely imagine any reasonable grounds for a
servlet to call Thread.sleep in a doPost/doGet method.

>
> I would like to know what is causing for apache process to go high.
>
> Is it porblem in a backend tomcat server or it has to do something with apache itself.?
>
> I am using apache version :- 2.0.59
>
> tomcat version :- 5.5.9
>
> and connecting module as mod_jk.
>
>
> --- On Tue, 1/11/11, André Warnier <aw@ice-sa.com> wrote:
>
> From: André Warnier <aw@ice-sa.com>
> Subject: Re: Need help in understanding tomcat thread dump
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Date: Tuesday, January 11, 2011, 5:31 PM
>
> Ronald Klop wrote:
> ...
>
>>>
>>
>> What is the issue? (Was there another mail that I missed?)
>>
> Maybe. There is another thread from the same OP, entitled "Apache Process going high
even after restart of backend server tomcat", but I am still trying to figure out what the
relationship is, and what is the problem.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message