You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jeremy P <de...@yahoo.com> on 2001/10/01 19:42:22 UTC

Tomcat Hanging

Hi all, 

I am having some trouble with a fleet of production
tomcat servers.  The servers are running Tomcat 3.2.3
in a fairly high-volume system (approx. 500,000
requests per day) on Solaris 8 using JDK1.3.1 .  After
starting the servers. They run fantastically for about
20 minutes, with no signs of being slow due to load or
any other problems.  After this 20 minutes, they hang
completely.  Running top on the machines shows that
they drop off the CPU list completely.  Running
netstat shows that all connections are stuck in the
ESTABLISHED state.  Sometimes it takes longer than 20
minutes, sometimes less, but eventually it will hang
in the described state.  This problem occurs both when
running tomcat in standalone operation and via the
Apache module.  I have seen a few bug reports
describing similiar problems but they all say they
were fixed prior to 3.2.3.  Furthermore, I have even
switched one of the machines to Tomcat 4 to see if
that would fix the problem, but it did not.  Has
anyone encountered similiar problems, or have any
suggestions as to what may be the cause.  

Thanks

Jeremy

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

Re: Tomcat Hanging

Posted by David Frankson <df...@qwest.net>.
    Do a thread dump on the hanging process.  Its CTRL-BREAK on a windows
machine, I'm not sure of the Solaris equivalent command.  It will likely
show a few objects waiting indefinitely for some resource.  In my experience
it has always been my own code that trips up tomcat.

Dave


----- Original Message -----
From: "Jeremy P" <de...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Monday, October 01, 2001 12:42 PM
Subject: Tomcat Hanging


> Hi all,
>
> I am having some trouble with a fleet of production
> tomcat servers.  The servers are running Tomcat 3.2.3
> in a fairly high-volume system (approx. 500,000
> requests per day) on Solaris 8 using JDK1.3.1 .  After
> starting the servers. They run fantastically for about
> 20 minutes, with no signs of being slow due to load or
> any other problems.  After this 20 minutes, they hang
> completely.  Running top on the machines shows that
> they drop off the CPU list completely.  Running
> netstat shows that all connections are stuck in the
> ESTABLISHED state.  Sometimes it takes longer than 20
> minutes, sometimes less, but eventually it will hang
> in the described state.  This problem occurs both when
> running tomcat in standalone operation and via the
> Apache module.  I have seen a few bug reports
> describing similiar problems but they all say they
> were fixed prior to 3.2.3.  Furthermore, I have even
> switched one of the machines to Tomcat 4 to see if
> that would fix the problem, but it did not.  Has
> anyone encountered similiar problems, or have any
> suggestions as to what may be the cause.
>
> Thanks
>
> Jeremy
>
> __________________________________________________
> Do You Yahoo!?
> Listen to your Yahoo! Mail messages from any phone.
> http://phone.yahoo.com
>