tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhao Hui" <zhao...@crmsoftware.com.au>
Subject Re: tomcat jitters, then hangs - please help
Date Mon, 20 Oct 2003 23:35:00 GMT
Hi folks,

We encountered the same problem where tomcat on our linux box will hang
occasionally after several days, and we have yet to find the cause of the
problem. Looks like this might solve our problem :). Here is our
configuration :

OS : Redhat
Tomcat : 4
JVM : IBM JDK1.4

I would like to know more about how should we go about configuring the
LD_ASSUME_KERNEL. Please correct me if I am wrong.

> setenv LD_ASSUME_KERNEL 2.2.5

and that will do the trick? Does it depends on any kernel version?

Besides that, we observed that some of the threads that tomcat started did
not die after a few days, here is a snapshot of the tomcat processes (as an
example): [say I started the tomcat at 19 October and today is 22 October,
but there are still some threads running on 20 October]

tomcat4   1554         1  0 Oct19 ?           00:00:19
/opt/IBMJava2-141/bin/java -Djav
tomcat4   1587  1554  0 Oct19 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav
tomcat4   1588  1587  0 Oct19 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav
tomcat4   1589  1587  0 Oct19 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav
tomcat4   1590  1587  0 Oct19 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav
tomcat4   2071  1587  0 Oct19 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav
tomcat4   2072  1587  0 Oct19 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav
.....
tomcat4   2088  1587  0 Oct20 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav
tomcat4   2089  1587  0 Oct20 ?        00:00:00
/opt/IBMJava2-141/bin/java -Djav

I guess this might be the same issue here as well.

Any comment would be much appreciated. Thanks.

Regards,
Hui

----- Original Message -----
From: "Francois JEANMOUGIN" <Francois.JEANMOUGIN@123multimedia.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, October 21, 2003 12:45 AM
Subject: RE: tomcat jitters, then hangs - please help


Hi,


LD_ASSUME_KERNEL
> > Problem: Tomcat Server becomes unresponsive to new requests after
> several
> > hours, regardless of load.
> > OS RH9; Tomcat 4 or 5; VM Sun or IBM (JDK 1.4)
> > Solve: (tcsh): setenv LD_ASSUME_KERNEL 2.2.5
[...]
> Q: would the assume kernel 2.4 work as well ? I believe it would, but
> it
> could be worth confirming it eventually. This is not critical,
> obviously.

I understood LD_ASSUME_KERNEL is controlling the way the libpthread interact
with both the kernel and the applications. I saw lot of things written about
this supposed-to-be improved lib from RedHat but the optimizations doesn't
seem to be usable by those popular Jvm.

Fran├žois.


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


---------------------------------------------------------------------
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