I have not tried this since it said this applied only to 2.4 kernels, but I am willing to try anything at this point, thanks!

Zsolt Koppany wrote:
Did you try:

export LD_ASSUME_KERNEL=2.2.5
or
export LD_ASSUME_KERNEL=2.4.1

tomcat start

Zsolt
-----Original Message-----
From: Brian Cross [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 7:23 PM
To: users@tomcat.apache.org
Subject: Tomcat randomly hangs

Hello and thanks in advance for any advice.

We have Tomcat 5.5.20 running standalone on the following system:

Dual AMD Opteron
4 gig of memory
Debian Linux 2.6.8 amd64 smp kernel
latest sun java 1.5, 1.6, ibm 1.5 (happens on all 3 VM's)
Tomcat 5.5.20 (originally happened on 5.5.16, upgrade didn't help)

Randomly it will hang and stop accepting connections on port 80,
sometimes even late at night when there is not much traffic.

When the hang occurs:

* Can't access any web app on tomcat including the tomcat manager
* Telnet to port 80 hangs(Coyote running on port 80)
* load goes up, but only slightly (from < 1 to maybe 3 or 4)
* sometimes after a couple of minutes it starts responding again,
sometimes it doesn't.
* when I run shutdown.sh the java process continues to run and I have to
kill -9 to stop it
* I try to do a kill -3 or kill -QUIT on the java process to get a
thread dump, but it does not work

I have tried many different jvm settings and tomcat connector settings,
here is what I have currently:

<Connector port="80" maxHttpHeaderSize="8192"
           maxThreads="1000" minSpareThreads="50" maxSpareThreads="100"
           enableLookups="false" redirectPort="8443" acceptCount="100"
           connectionTimeout="20000" strategy="ms"
disableUploadTimeout="false" />

CATALINA_OPTS="-server -XX:MaxPermSize=256m -ms512m -mx1280m -Xss96k
-Djava.awt.headless=true"

I would really appreciate any advice, I really don't know where to go
from here to try and figure it out.  If I can't figure it out soon my
plan is to use apache2 as the webserver and connect to tomcat via JK.

Thanks so much for your expert advice!

--Brian.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to