tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juha Laiho <Juha.La...@iki.fi>
Subject Re: Every couple hours, Tomcat stops
Date Sat, 19 Dec 2009 20:17:30 GMT
Bruce wrote:
> I have an installation where Tomcat stops every couple hours.
> 
>    * Tomcat 6.0.18
>    * Windows XP pro 2.3GHz, 2G memory
>    * The application is in a .war file.
>    * This app reads and writes to a MySQL database on the same machine.
> 
> What happens is that the application will run for about 3 hours or so. 
> Suddenly, it stops responding.

A thread dump of the hung Tomcat might well bring more light
to the situation. To me at least this sounds like a thread starvation
issue (for some reason, the request processing threads are not
recycled to serve future requests). The thread dump might well bring
insight as to what the reason might be.

One reason for the starvation might be some deadlock situation across
separate threads accessing the database.

Other things to check are the memory and CPU usage of the hung
Tomcat process - they might also provide some more clues.
-- 
..Juha

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


Mime
View raw message