paries
asked on
my webapp is crashing the JVM intermittently
Hello,
I have just pushed a new version of my web app to my production boxes .
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
1 box crashes every 2 or 3 days and the other 1 once 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.manage r=org.apac he.juli.Cl assLoaderL ogManager
-Djava.util.logging.config .file=/usr /java/jaka rta-tomcat /conf/logg ing.proper ties
-Djava.endorsed.dirs=/usr/ java/jakar ta-tomcat/ common/end orsed -D
catalina.base=/usr/java/ja karta-tomc at
-Dcatalina.home=/usr/java/ jakarta-to mcat
-Djava.io.tmpdir=/usr/java /jakarta-t omcat/temp
java_command: org.apache.catalina.startu p.Bootstra p start start
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/java/jdk1.5 .0_06
CLASSPATH=:/usr/java/jakar ta-tomcat/ bin/bootst rap.jar:/u sr/java/ja karta-tomc at/bin/com mons-loggi ng-api.jar
PATH=/usr/local/sbin:/usr/ local/bin: /sbin:/bin :/usr/sbin :/usr/bin: /usr/java/ jdk1.5.0_0 6/bin:/usr /java/jdk1 .5.0_06
LD_LIBRARY_PATH=/usr/java/ jdk1.5.0_0 6/jre/lib/ i386/serve r:/usr/jav a/jdk1.5.0 _06/jre/li b/i386:/us r/java/jdk 1.5.0_06/j re/../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)
I have just pushed a new version of my web app to my production boxes .
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
1 box crashes every 2 or 3 days and the other 1 once 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]
\\\\\\\\\\\\\\\\\\\\\\\\\\
VM Arguments:
jvm_args: -Xms256m -Xmx1024m -Djava.awt.headless=true
-Dfile.encoding=ISO-8859-1
-Djava.util.logging.manage
-Djava.util.logging.config
-Djava.endorsed.dirs=/usr/
catalina.base=/usr/java/ja
-Dcatalina.home=/usr/java/
-Djava.io.tmpdir=/usr/java
java_command: org.apache.catalina.startu
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/java/jdk1.5
CLASSPATH=:/usr/java/jakar
PATH=/usr/local/sbin:/usr/
LD_LIBRARY_PATH=/usr/java/
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)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Paries,
I'm not a linux administrator myself. May be the below link will help you in verifying and setting the available memory that should be committed for your web applications (You need to have at least 1024M with a factor of safety)
http://tldp.org/LDP/sag/html/sag.html
I would also suggest you to post a query on the linux administration group, where someone with a hands on experience can provide a better guidance.
regards
Sachin
I'm not a linux administrator myself. May be the below link will help you in verifying and setting the available memory that should be committed for your web applications (You need to have at least 1024M with a factor of safety)
http://tldp.org/LDP/sag/html/sag.html
I would also suggest you to post a query on the linux administration group, where someone with a hands on experience can provide a better guidance.
regards
Sachin
ASKER
any ideas on how to do that? ( i relaize this is the wrong group for that)
thannks