tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francois JEANMOUGIN" <>
Subject RE: tomcat jitters, then hangs - please help
Date Tue, 21 Oct 2003 06:22:56 GMT

> -----Message d'origine-----
> De : Zhao Hui []
> Envoyé : mardi 21 octobre 2003 01:35
> À : Tomcat Users List
> Objet : Re: tomcat jitters, then hangs - please help
> 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

We use the same, but didn't find how to solve all the bugs. So, with such configuration, you
will encounter 3 problems :

IBM Jvm crunching all available memory
Tomcat 4.1.27 is sometimes unable to free some threads (and so you go out of maxProcessors
IBM 1.4.1 runs more or less well with the libpthread. You could have tomcat freezing, or JITC
doing SIG11, or... Well, nothing really clear about that.
> 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

I use bash as a shell, and because our final architecture (not finished) will be of several
tomcat instances running on several nodes of a linux virtual server, I use a script like 
that :

# Add your own comments
# Java related stuff
# We will ask GC to report problems and try to limit memory usage
JAVA_OPTS="-verbose:gc -Xmx256m -Xms256m"
# You can add the LD thing here :
# Catalina related stuff :
# Catalina base is on an NFS server (note that this require a 
# modification of bin/ to fix the hard coded log path
# PID is usefull to get good javacore when stopping Java
# You can the use kill -3 `cat $CATALINA_BASE/logs/pid` to
# have javacore in the CATALINA_BASE directory.
# Never forget to export ALL of it
#run the startup script from Tomcat installation

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

This could, even if IBM documentation is not clear about it.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message