Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Signal 11 crash and mod_jk, mod_jk2, apache2

David Short

2004-01-14

Replies:

Hi Peter,

It sounds like you've got Tomcat 5.0.16 running in-process with Apache2.
I'm trying to get this configuration working. Would you mind posting your
workers.properties file?

Thanks,

Dave

-----Original Message-----
From: Peter Burkholder [mailto:peterb@(protected)]
Sent: Wednesday, January 14, 2004 8:29 AM
To: tomcat-user@(protected)
Subject: Signal 11 crash and mod_jk, mod_jk2, apache2


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//w
ww.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@(protected)
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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.