You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Paries <rt...@gmail.com> on 2007/04/09 22:54:59 UTC

my webapp is crashing the JVM intermittently

Hello,
I am not sure if this is the right place to post this , but if not
maybe someone can point me in a correct direction.

I have just pushed a new version of my web app to production.
which is apache-tomcat-5.5.15 with apache and fedora core 4

I am running this same app one 3 different boxes

on two of them it has crashed the JVM. The only reason i say this, is
because it probably rules out hardware

i box crashes 1 every 2 or 3 days and the other 1 in the last week

I will give you a part of the log file of the crash.

if there is more that i can provide please let me know.

Any help would be really appreciated:
=====================================

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xb7a5e650, pid=18291, tid=1847487408
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# V  [libjvm.so+0x466650]
#

---------------  T H R E A D  ---------------

Current thread (0x099aedf8):  GCTaskThread [id=18292]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x18181824

Registers:
EAX=0x18181818, EBX=0xb7ba37f0, ECX=0xab774708, EDX=0x18181820
ESP=0x6e1e60b0, EBP=0x6e1e6128, ESI=0xaf4c9fb4, EDI=0xaf4d23e8
EIP=0xb7a5e650, CR2=0x18181824, EFLAGS=0x00010293

Top of Stack: (sp=0x6e1e60b0)
0x6e1e60b0:   099a4050 00001004 b7b8e1ac b7a5e630
0x6e1e60c0:   099a4068 b7b96ac0 00000001 b7ba37f0
0x6e1e60d0:   823db790 823b38e0 6e1e6118 b7ba37f0
0x6e1e60e0:   00000006 00000000 18181818 00000000
0x6e1e60f0:   0000000c 00000000 00000001 af4d2398
0x6e1e6100:   af4d2258 00001000 af4c8730 b7839ef1
0x6e1e6110:   af4aa1e8 00001000 6e1e6188 b7ba37f0
0x6e1e6120:   af4c9fb4 af4d23e8 6e1e6168 b783a00c

Instructions: (pc=0xb7a5e650)
0xb7a5e640:   8b 4d 0c c7 45 bc 00 00 00 00 8b 41 04 8d 50 08
0xb7a5e650:   8b 4a 04 89 4d b8 85 c9 0f 8e f2 04 00 00 8b 45

Stack: [0x6e166000,0x6e1e7000),  sp=0x6e1e60b0,  free space=512k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x466650]
V  [libjvm.so+0x24200c]
V  [libjvm.so+0x466471]
V  [libjvm.so+0x468862]
V  [libjvm.so+0x2094cf]
V  [libjvm.so+0x424338]
C  [libpthread.so.0+0x5bd4]

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\snipped\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

VM Arguments:
jvm_args: -Xms256m -Xmx1024m -Djava.awt.headless=true
-Dfile.encoding=ISO-8859-1
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
 -Djava.util.logging.config.file=/usr/java/jakarta-tomcat/conf/logging.properties
-Djava.endorsed.dirs=/usr/java/jakarta-tomcat/common/endorsed -D
catalina.base=/usr/java/jakarta-tomcat
-Dcatalina.home=/usr/java/jakarta-tomcat
-Djava.io.tmpdir=/usr/java/jakarta-tomcat/temp
java_command: org.apache.catalina.startup.Bootstrap start start
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/java/jdk1.5.0_06
CLASSPATH=:/usr/java/jakarta-tomcat/bin/bootstrap.jar:/usr/java/jakarta-tomcat/bin/commons-logging-api.jar
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_06/bin:/usr/java/jdk1.5.0_06
LD_LIBRARY_PATH=/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib/i386:/usr/java/jdk1.5.0_06/jre/../lib/i386
SHELL=/bin/bash

Signal Handlers:
SIGSEGV: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x424bb0], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:Fedora Core release 4 (Stentz)

uname:Linux 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686
libc:glibc 2.3.6 NPTL 2.3.6
rlimit: STACK 10240k, CORE 0k, NPROC 32750, NOFILE 1024, AS infinity
load average:0.31 0.21 0.20

CPU:total 2 family 47, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 506k(14k free), swap 625k(625k free)

vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for linux-x86,
built on Nov 10 2005 10:56:33 by java_re with gcc 3.2.1-7a (J2SE
release)

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: my webapp is crashing the JVM intermittently

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
I would take a hint from this line
Current thread (0x099aedf8):  GCTaskThread [id=18292]

My guess is that you have enabled parallel and concurrent GC/mark/sweep,
remove all the GC options from your command line and try again
I've seen this error before
Filip

Randy Paries wrote:
> Hello,
> I am not sure if this is the right place to post this , but if not
> maybe someone can point me in a correct direction.
>
> I have just pushed a new version of my web app to production.
> which is apache-tomcat-5.5.15 with apache and fedora core 4
>
> I am running this same app one 3 different boxes
>
> on two of them it has crashed the JVM. The only reason i say this, is
> because it probably rules out hardware
>
> i box crashes 1 every 2 or 3 days and the other 1 in the last week
>
> I will give you a part of the log file of the crash.
>
> if there is more that i can provide please let me know.
>
> Any help would be really appreciated:
> =====================================
>
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> #  SIGSEGV (0xb) at pc=0xb7a5e650, pid=18291, tid=1847487408
> #
> # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # V  [libjvm.so+0x466650]
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x099aedf8):  GCTaskThread [id=18292]
>
> siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x18181824
>
> Registers:
> EAX=0x18181818, EBX=0xb7ba37f0, ECX=0xab774708, EDX=0x18181820
> ESP=0x6e1e60b0, EBP=0x6e1e6128, ESI=0xaf4c9fb4, EDI=0xaf4d23e8
> EIP=0xb7a5e650, CR2=0x18181824, EFLAGS=0x00010293
>
> Top of Stack: (sp=0x6e1e60b0)
> 0x6e1e60b0:   099a4050 00001004 b7b8e1ac b7a5e630
> 0x6e1e60c0:   099a4068 b7b96ac0 00000001 b7ba37f0
> 0x6e1e60d0:   823db790 823b38e0 6e1e6118 b7ba37f0
> 0x6e1e60e0:   00000006 00000000 18181818 00000000
> 0x6e1e60f0:   0000000c 00000000 00000001 af4d2398
> 0x6e1e6100:   af4d2258 00001000 af4c8730 b7839ef1
> 0x6e1e6110:   af4aa1e8 00001000 6e1e6188 b7ba37f0
> 0x6e1e6120:   af4c9fb4 af4d23e8 6e1e6168 b783a00c
>
> Instructions: (pc=0xb7a5e650)
> 0xb7a5e640:   8b 4d 0c c7 45 bc 00 00 00 00 8b 41 04 8d 50 08
> 0xb7a5e650:   8b 4a 04 89 4d b8 85 c9 0f 8e f2 04 00 00 8b 45
>
> Stack: [0x6e166000,0x6e1e7000),  sp=0x6e1e60b0,  free space=512k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
> C=native code)
> V  [libjvm.so+0x466650]
> V  [libjvm.so+0x24200c]
> V  [libjvm.so+0x466471]
> V  [libjvm.so+0x468862]
> V  [libjvm.so+0x2094cf]
> V  [libjvm.so+0x424338]
> C  [libpthread.so.0+0x5bd4]
>
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\snipped\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
>
>
> VM Arguments:
> jvm_args: -Xms256m -Xmx1024m -Djava.awt.headless=true
> -Dfile.encoding=ISO-8859-1
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=/usr/java/jakarta-tomcat/conf/logging.properties 
>
> -Djava.endorsed.dirs=/usr/java/jakarta-tomcat/common/endorsed -D
> catalina.base=/usr/java/jakarta-tomcat
> -Dcatalina.home=/usr/java/jakarta-tomcat
> -Djava.io.tmpdir=/usr/java/jakarta-tomcat/temp
> java_command: org.apache.catalina.startup.Bootstrap start start
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
> JAVA_HOME=/usr/java/jdk1.5.0_06
> CLASSPATH=:/usr/java/jakarta-tomcat/bin/bootstrap.jar:/usr/java/jakarta-tomcat/bin/commons-logging-api.jar 
>
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_06/bin:/usr/java/jdk1.5.0_06 
>
> LD_LIBRARY_PATH=/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib/i386:/usr/java/jdk1.5.0_06/jre/../lib/i386 
>
> SHELL=/bin/bash
>
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGBUS: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGFPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGPIPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGILL: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGUSR2: [libjvm.so+0x424bb0], sa_mask[0]=0x00000000, sa_flags=0x10000004
> SIGHUP: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGQUIT: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGTERM: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
>
>
> ---------------  S Y S T E M  ---------------
>
> OS:Fedora Core release 4 (Stentz)
>
> uname:Linux 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686
> libc:glibc 2.3.6 NPTL 2.3.6
> rlimit: STACK 10240k, CORE 0k, NPROC 32750, NOFILE 1024, AS infinity
> load average:0.31 0.21 0.20
>
> CPU:total 2 family 47, cmov, cx8, fxsr, mmx, sse, sse2, ht
>
> Memory: 4k page, physical 506k(14k free), swap 625k(625k free)
>
> vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for linux-x86,
> built on Nov 10 2005 10:56:33 by java_re with gcc 3.2.1-7a (J2SE
> release)
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: my webapp is crashing the JVM intermittently

Posted by Rashmi Rubdi <ra...@gmail.com>.
The FAQ http://tomcat.apache.org/faq/memory.html offers a few solutions too.

-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: my webapp is crashing the JVM intermittently

Posted by Randy Paries <rt...@gmail.com>.
Actually that was the first thing i did
I upgraded from jdk1.5.0_02 to jdk1.5.0_06
Randy

On 4/9/07, Srinivas Visvanathan <sr...@fastmail.fm> wrote:
> Perhaps you should try a different JVM version. I've seen cases where
> eclipse would crash repeatedly (every 10 min) with one JVM version.
> Updating to a different version fixed the problem.
>
> Also I see that you aren't on a very recent Sun JVM (1.5.0_06-b05). I'm
> using 1.5.0_11 myself and 1.6 is also out.
>
>       Srinivas
>
>
> On Mon, 9 Apr 2007 15:54:59 -0500, "Randy Paries" <rt...@gmail.com>
> said:
> > Hello,
> > I am not sure if this is the right place to post this , but if not
> > maybe someone can point me in a correct direction.
> >
> > I have just pushed a new version of my web app to production.
> > which is apache-tomcat-5.5.15 with apache and fedora core 4
> >
> > I am running this same app one 3 different boxes
> >
> > on two of them it has crashed the JVM. The only reason i say this, is
> > because it probably rules out hardware
> >
> > i box crashes 1 every 2 or 3 days and the other 1 in the last week
> >
> > I will give you a part of the log file of the crash.
> >
> > if there is more that i can provide please let me know.
> >
> > Any help would be really appreciated:
> > =====================================
> >
> > #
> > # An unexpected error has been detected by HotSpot Virtual Machine:
> > #
> > #  SIGSEGV (0xb) at pc=0xb7a5e650, pid=18291, tid=1847487408
> > #
> > # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
> > # Problematic frame:
> > # V  [libjvm.so+0x466650]
> > #
> >
> > ---------------  T H R E A D  ---------------
> >
> > Current thread (0x099aedf8):  GCTaskThread [id=18292]
> >
> > siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x18181824
> >
> > Registers:
> > EAX=0x18181818, EBX=0xb7ba37f0, ECX=0xab774708, EDX=0x18181820
> > ESP=0x6e1e60b0, EBP=0x6e1e6128, ESI=0xaf4c9fb4, EDI=0xaf4d23e8
> > EIP=0xb7a5e650, CR2=0x18181824, EFLAGS=0x00010293
> >
> > Top of Stack: (sp=0x6e1e60b0)
> > 0x6e1e60b0:   099a4050 00001004 b7b8e1ac b7a5e630
> > 0x6e1e60c0:   099a4068 b7b96ac0 00000001 b7ba37f0
> > 0x6e1e60d0:   823db790 823b38e0 6e1e6118 b7ba37f0
> > 0x6e1e60e0:   00000006 00000000 18181818 00000000
> > 0x6e1e60f0:   0000000c 00000000 00000001 af4d2398
> > 0x6e1e6100:   af4d2258 00001000 af4c8730 b7839ef1
> > 0x6e1e6110:   af4aa1e8 00001000 6e1e6188 b7ba37f0
> > 0x6e1e6120:   af4c9fb4 af4d23e8 6e1e6168 b783a00c
> >
> > Instructions: (pc=0xb7a5e650)
> > 0xb7a5e640:   8b 4d 0c c7 45 bc 00 00 00 00 8b 41 04 8d 50 08
> > 0xb7a5e650:   8b 4a 04 89 4d b8 85 c9 0f 8e f2 04 00 00 8b 45
> >
> > Stack: [0x6e166000,0x6e1e7000),  sp=0x6e1e60b0,  free space=512k
> > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> > code)
> > V  [libjvm.so+0x466650]
> > V  [libjvm.so+0x24200c]
> > V  [libjvm.so+0x466471]
> > V  [libjvm.so+0x468862]
> > V  [libjvm.so+0x2094cf]
> > V  [libjvm.so+0x424338]
> > C  [libpthread.so.0+0x5bd4]
> >
> > \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\snipped\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> >
> > VM Arguments:
> > jvm_args: -Xms256m -Xmx1024m -Djava.awt.headless=true
> > -Dfile.encoding=ISO-8859-1
> > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> >  -Djava.util.logging.config.file=/usr/java/jakarta-tomcat/conf/logging.properties
> > -Djava.endorsed.dirs=/usr/java/jakarta-tomcat/common/endorsed -D
> > catalina.base=/usr/java/jakarta-tomcat
> > -Dcatalina.home=/usr/java/jakarta-tomcat
> > -Djava.io.tmpdir=/usr/java/jakarta-tomcat/temp
> > java_command: org.apache.catalina.startup.Bootstrap start start
> > Launcher Type: SUN_STANDARD
> >
> > Environment Variables:
> > JAVA_HOME=/usr/java/jdk1.5.0_06
> > CLASSPATH=:/usr/java/jakarta-tomcat/bin/bootstrap.jar:/usr/java/jakarta-tomcat/bin/commons-logging-api.jar
> > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_06/bin:/usr/java/jdk1.5.0_06
> > LD_LIBRARY_PATH=/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib/i386:/usr/java/jdk1.5.0_06/jre/../lib/i386
> > SHELL=/bin/bash
> >
> > Signal Handlers:
> > SIGSEGV: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> > SIGBUS: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> > SIGFPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> > SIGPIPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> > SIGILL: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> > SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
> > SIGUSR2: [libjvm.so+0x424bb0], sa_mask[0]=0x00000000, sa_flags=0x10000004
> > SIGHUP: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> > SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
> > SIGQUIT: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> > SIGTERM: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> >
> >
> > ---------------  S Y S T E M  ---------------
> >
> > OS:Fedora Core release 4 (Stentz)
> >
> > uname:Linux 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686
> > libc:glibc 2.3.6 NPTL 2.3.6
> > rlimit: STACK 10240k, CORE 0k, NPROC 32750, NOFILE 1024, AS infinity
> > load average:0.31 0.21 0.20
> >
> > CPU:total 2 family 47, cmov, cx8, fxsr, mmx, sse, sse2, ht
> >
> > Memory: 4k page, physical 506k(14k free), swap 625k(625k free)
> >
> > vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for linux-x86,
> > built on Nov 10 2005 10:56:33 by java_re with gcc 3.2.1-7a (J2SE
> > release)
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: my webapp is crashing the JVM intermittently

Posted by Srinivas Visvanathan <sr...@fastmail.fm>.
Perhaps you should try a different JVM version. I've seen cases where
eclipse would crash repeatedly (every 10 min) with one JVM version.
Updating to a different version fixed the problem.

Also I see that you aren't on a very recent Sun JVM (1.5.0_06-b05). I'm
using 1.5.0_11 myself and 1.6 is also out.

       Srinivas


On Mon, 9 Apr 2007 15:54:59 -0500, "Randy Paries" <rt...@gmail.com>
said:
> Hello,
> I am not sure if this is the right place to post this , but if not
> maybe someone can point me in a correct direction.
> 
> I have just pushed a new version of my web app to production.
> which is apache-tomcat-5.5.15 with apache and fedora core 4
> 
> I am running this same app one 3 different boxes
> 
> on two of them it has crashed the JVM. The only reason i say this, is
> because it probably rules out hardware
> 
> i box crashes 1 every 2 or 3 days and the other 1 in the last week
> 
> I will give you a part of the log file of the crash.
> 
> if there is more that i can provide please let me know.
> 
> Any help would be really appreciated:
> =====================================
> 
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> #  SIGSEGV (0xb) at pc=0xb7a5e650, pid=18291, tid=1847487408
> #
> # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # V  [libjvm.so+0x466650]
> #
> 
> ---------------  T H R E A D  ---------------
> 
> Current thread (0x099aedf8):  GCTaskThread [id=18292]
> 
> siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x18181824
> 
> Registers:
> EAX=0x18181818, EBX=0xb7ba37f0, ECX=0xab774708, EDX=0x18181820
> ESP=0x6e1e60b0, EBP=0x6e1e6128, ESI=0xaf4c9fb4, EDI=0xaf4d23e8
> EIP=0xb7a5e650, CR2=0x18181824, EFLAGS=0x00010293
> 
> Top of Stack: (sp=0x6e1e60b0)
> 0x6e1e60b0:   099a4050 00001004 b7b8e1ac b7a5e630
> 0x6e1e60c0:   099a4068 b7b96ac0 00000001 b7ba37f0
> 0x6e1e60d0:   823db790 823b38e0 6e1e6118 b7ba37f0
> 0x6e1e60e0:   00000006 00000000 18181818 00000000
> 0x6e1e60f0:   0000000c 00000000 00000001 af4d2398
> 0x6e1e6100:   af4d2258 00001000 af4c8730 b7839ef1
> 0x6e1e6110:   af4aa1e8 00001000 6e1e6188 b7ba37f0
> 0x6e1e6120:   af4c9fb4 af4d23e8 6e1e6168 b783a00c
> 
> Instructions: (pc=0xb7a5e650)
> 0xb7a5e640:   8b 4d 0c c7 45 bc 00 00 00 00 8b 41 04 8d 50 08
> 0xb7a5e650:   8b 4a 04 89 4d b8 85 c9 0f 8e f2 04 00 00 8b 45
> 
> Stack: [0x6e166000,0x6e1e7000),  sp=0x6e1e60b0,  free space=512k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> V  [libjvm.so+0x466650]
> V  [libjvm.so+0x24200c]
> V  [libjvm.so+0x466471]
> V  [libjvm.so+0x468862]
> V  [libjvm.so+0x2094cf]
> V  [libjvm.so+0x424338]
> C  [libpthread.so.0+0x5bd4]
> 
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\snipped\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
> 
> VM Arguments:
> jvm_args: -Xms256m -Xmx1024m -Djava.awt.headless=true
> -Dfile.encoding=ISO-8859-1
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
>  -Djava.util.logging.config.file=/usr/java/jakarta-tomcat/conf/logging.properties
> -Djava.endorsed.dirs=/usr/java/jakarta-tomcat/common/endorsed -D
> catalina.base=/usr/java/jakarta-tomcat
> -Dcatalina.home=/usr/java/jakarta-tomcat
> -Djava.io.tmpdir=/usr/java/jakarta-tomcat/temp
> java_command: org.apache.catalina.startup.Bootstrap start start
> Launcher Type: SUN_STANDARD
> 
> Environment Variables:
> JAVA_HOME=/usr/java/jdk1.5.0_06
> CLASSPATH=:/usr/java/jakarta-tomcat/bin/bootstrap.jar:/usr/java/jakarta-tomcat/bin/commons-logging-api.jar
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_06/bin:/usr/java/jdk1.5.0_06
> LD_LIBRARY_PATH=/usr/java/jdk1.5.0_06/jre/lib/i386/server:/usr/java/jdk1.5.0_06/jre/lib/i386:/usr/java/jdk1.5.0_06/jre/../lib/i386
> SHELL=/bin/bash
> 
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGBUS: [libjvm.so+0x4fd530], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGFPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGPIPE: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGILL: [libjvm.so+0x422860], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGUSR2: [libjvm.so+0x424bb0], sa_mask[0]=0x00000000, sa_flags=0x10000004
> SIGHUP: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGQUIT: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> SIGTERM: [libjvm.so+0x4245e0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
> 
> 
> ---------------  S Y S T E M  ---------------
> 
> OS:Fedora Core release 4 (Stentz)
> 
> uname:Linux 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686
> libc:glibc 2.3.6 NPTL 2.3.6
> rlimit: STACK 10240k, CORE 0k, NPROC 32750, NOFILE 1024, AS infinity
> load average:0.31 0.21 0.20
> 
> CPU:total 2 family 47, cmov, cx8, fxsr, mmx, sse, sse2, ht
> 
> Memory: 4k page, physical 506k(14k free), swap 625k(625k free)
> 
> vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for linux-x86,
> built on Nov 10 2005 10:56:33 by java_re with gcc 3.2.1-7a (J2SE
> release)
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: my webapp is crashing the JVM intermittently

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Randy,

Randy Paries wrote:
> I am running this same app one 3 different boxes on two of them it
> has crashed the JVM. The only reason i say this, is because it
> probably rules out hardware

Why? It sounds to me like you've ruled-out /software/ instead of hardware.

> i box crashes 1 every 2 or 3 days and the other 1 in the last week

Unexplained SIGSEGV while running Java? $5 says it's bad memory,
motherboard, or processor. Or, perhaps even just a bad pairing of all three.

Has this hardware worked in the past with no issues?

Since you're running x86 hardware, run memtest86+ on each machine
overnight to see if there are any memory copying errors. Any machine
that fails shouldn't be trusted with production applications. Swap-out
your hardware until it passes with no errors.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGGthB9CaO5/Lv0PARAg7NAJ47DI+oC2OxxCxXOedWmXtPA4dG0gCggiTW
UTM/g+lUoS4Crwt3pYSYwH0=
=lvF5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org