You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James McIntosh <ja...@snaphire.com> on 2007/03/27 06:12:34 UTC

Tomcat VM crash

I was wondering if someone can clarify if it is more likely that:

- increasing the committed perm gen allocation is failing
or
- the ssl library

would cause the VM to crash it out without throwing an Exception.

The VM has died without warning 8 times in the last 2 months, 7 of them
with the same symptoms as in the partial dump below.

The trend seems to be:

- the "problematic frame" is libssl
- perm gen is at 99% of committed but only around 75% of MaxPermSize

I am running:

  Fedora Core 5
  Tomcat 5.5.20 + tomcat-native-1.1.3
  OpenSSL 0.9.8a.
  Java HotSpot(TM) 64-Bit Server VM (1.5.0_09-b01 mixed mode)
  With init parameters:
   -Xms512m
   -Xmx2048m
   -XX:MaxPermSize=512m

I have chopped up the dump below to make it nicer to read, is there
anything important I have missed?

Many thanks
James

---------------------

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00000032a792c5a4, pid=23149, tid=1217239360
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_09-b01 mixed mode)
# Problematic frame:
# C  [libssl.so.6+0x2c5a4]  SSL_write+0x4
#

---------------------

Stack: [0x00000000487d9000,0x00000000488da000),  sp=0x00000000488d8500,
free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C  [libssl.so.6+0x2c5a4]  SSL_write+0x4

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.apache.tomcat.jni.Socket.sendbb(JII)I
J  org.apache.coyote.http11.InternalAprOutputBuffer
$SocketOutputBuffer.doWrite(Lorg/apache/tomcat/util/buf/ByteChunk;Lorg/apache/coyote/Response;)I
J  org.apache.tomcat.util.buf.ByteChunk.append([BII)V
J  java.io.BufferedOutputStream.write([BII)V
v  ~I2CAdapter
j  java.io.FilterOutputStream.write([B)V+5


---------------------

Heap
 PSYoungGen      total 201408K, used 122892K
  eden space 190976K, 58% used
  from space 10432K, 99% used
  to   space 13824K, 0% used
 PSOldGen        total 1398144K, used 1148669K
  object space 1398144K, 82% used
 PSPermGen       total 382080K, used 377097K
  object space 382080K, 98% used


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

OS:Fedora Core release 5 (Bordeaux)

uname:Linux 2.6.17-1.2139_FC5 #1 SMP Fri Jun 23 12:40:11 EDT 2006 x86_64
libc:glibc 2.4 NPTL 2.4
rlimit: STACK 10240k, CORE 0k, NPROC 36864, NOFILE 1024, AS infinity
load average:1.19 0.95 0.52

CPU:total 4 em64t ht

Memory: 4k page, physical 4041260k(148000k free), swap 4096440k(4087480k
free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_09-b01) for
linux-amd64, built on Sep  7 2006 13:22:55 by java_re with gcc 3.2.2
(SuSE Linux)


---------------------------------------------------------------------
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