Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Signal 11 crash and mod_jk, mod_jk2, apache2

Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-14       - By Peter Burkholder

 Back
Reply:     1     2     3     4     5     6     7  

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 Source code of 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)




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