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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to