tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Carrillo <tom...@daydream.stanford.edu>
Subject Re: Signal 11 crash and mod_jk, mod_jk2, apache2
Date Wed, 14 Jan 2004 17:16:11 GMT
With RH8, I assume that at the very least you'll need to set 
LD_KERNEL_ASSUME.

I would consider that the first course of action, and likely would not 
need to do anything else. I could see hyperthreading a problem if the 
kernel didn't support it very well. You could try the latest 2.4.x kernel.

Oscar

On Wed, 14 Jan 2004, Peter Burkholder wrote:

> I've seen similar threads but not a resolution, so I'll raise this issue
> again.
> 
> I'm moving our web server and web apps to a new machine, a dual Xeon Redhat
> 8 box.  Tomcat 5.0.16 and Tomcat 4.1.29 both handle loads well when using
> the Tomcat HTTP server.  But I need to connect Tomcat to an Apache
> front-end, currently 2.0.28.  When I use either mod_jk or mod_jk2, the JVM
> crashes after 1970-1980 requests with Signal 11 and this in
> logs/catalina.out:
> 
> JVMDG217: Dump Handler is Processing a Signal - Please Wait.
> JVMDG303: JVM Requesting Java core file
> JVMDG304: Java core file written to
> /ucar/dpc/aegean/www/web/www.dlese.org/tomcat/javacore.20040113.142044.6635.txt
> JVMDG215: Dump Handler has Processed Exception Signal 11.
> 
>  and this exception in the java core:
> 
>  2XMEXCPINFO    JVM Exception 0x2 (subcode 0x0) occurred in thread
>  "TP-Processor9" (TID:0x10174AB8)
> 
> I've seen suggested avenues like:
> # kernel rebuilds (some 2.4.18-2.4.2? kernels had bad thread handling)
> # switching JVMs, e.g., Sun, IBM, BEA JRockit
> # cleaning out the work directory,
> # using or not using LD_ASSUME_KERNEL,
> # disabling hyperthreading,
> # disabling SMP,
> # adjusting heap and stack sizes
> # rebuilding the mod_jk or mod_jk2 connectores.
> # expanding user ulimits
> 
> That makes for a huge matrix of possibilities.  Any hints on which paths
> might be more fruitful, or others to consider.  Are more data needed to help
> isolate this problem?
> 
> Thanks,
> 
> Peter
> 
> 
> MISC DETAILS:
> Kernel: Redhat 2.4.20-27.8smp 
> JVM:  IBMJava2-141
> glibc Version    : 2.3.2
> Memory:	2Gb
> JVM Memory: Behavior is the same with either -Xms250m or -Xms512m
> 2 CPUS /w hyperthreading looks like 4 CPUs
> 
> CORE EXCERPTS:	
> 1HPUSERLIMITS  User Limits (in bytes except for NOFILE and NPROC) -
> NULL           -----------
> 2HPUSERLIMIT   RLIMIT_FSIZE   : infinity
> 2HPUSERLIMIT   RLIMIT_DATA    : infinity
> 2HPUSERLIMIT   RLIMIT_STACK   : 2093056
> 2HPUSERLIMIT   RLIMIT_CORE    : 0
> 2HPUSERLIMIT   RLIMIT_NOFILE  : 1024
> 2HPUSERLIMIT   RLIMIT_NPROC   : 7168
> 
> 2HPENVVAR      IBM_JAVA_COMMAND_LINE=/opt/java/java/bin/java -Xmx512m -Djava.end
> orsed.dirs=/opt/tomcat/tomcat4.1/common/endorsed -classpath /opt/java/java/lib/t
> ools.jar:/opt/tomcat/tomcat4.1/bin/bootstrap.jar -Dcatalina.base=/www/web//www.d
> lese.org/tomcat -Dcatalina.home=/opt/tomcat/tomcat4.1 -Djava.io.tmpdir=/www/web/
> /www.dlese.org/tomcat/temp org.apache.catalina.startup.Bootstrap -config /www/we
> b//www.dlese.org/tomcat/conf/dds.xml start
> 
> --
> Peter Burkholder, System Administrator
> Digital Library for Earth System Education (DLESE® -- http://www.dlese.org)
> peterb@ucar.edu
> DLESE Program Center (DPC)                               ~~~  ~~  ~~~~   __o
> UCAR/DPC, P.O. Box 3000       Ph) +1-303-497-2663      ~~~  ~~~~ ~~    _`\<,_
> Boulder, CO 80307-3000        Fx) +1 303-497-8336 ~~~~ ~~~   ~~~~     (*)/ (*)
> 
> ---------------------------------------------------------------------
> 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