Skip to main content

Frequently JVM crashed

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
ajaykumarnirankariGL
Offline
Joined: 2011-10-19

Hi,

My Application is running on JBoss server(jboss-5.1.0.GA) on Linus (openSUSE 64-bit) machine. My application frequently hanged. Means Frequently JVM crashed [with random operations].

Please suggest, how i can prevent of my frequent JVM crash?

Below details for your analysis. let me know if you need more info.

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

java version "1.6.0_18"

Java(TM) SE Runtime Environment (build 1.6.0_18-b07)

Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

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

Core was generated by `/jdk/bin/java -server -Xms3072M -Xmx3072M -XX:PermSize=128M -XX:MaxPer'.

Program terminated with signal 6, Aborted.

#0 0x00007fe1568b0645 in raise () from /lib64/libc.so.6

(gdb) bt

#0 0x00007fe1568b0645 in raise () from /lib64/libc.so.6

#1 0x00007fe1568b1c33 in abort () from /lib64/libc.so.6

#2 0x00007fe1568ec8e8 in ?? () from /lib64/libc.so.6

#3 0x00007fe1568f2118 in ?? () from /lib64/libc.so.6

#4 0x00007fe1568f4a5c in ?? () from /lib64/libc.so.6

#5 0x00007fe1568f6891 in malloc () from /lib64/libc.so.6

#6 0x00007fe15523533d in Java_java_util_zip_Inflater_inflateBytes () from /jre1.6.0_18/lib/amd64/libzip.so

#7 0x00007fe1523c4662 in ?? ()

#8 0x00007fe0921b2e20 in ?? ()

#9 0x00007fe1156e03d8 in ?? ()

#10 0x00007fe0671dd000 in ?? ()

#11 0x00007fe07219dcb0 in ?? ()

#12 0x00007fe0671dd000 in ?? ()

#13 0x00007fe06ceab328 in ?? ()

#14 0x00007fe06ceab2f8 in ?? ()

Another type of core:- -------------------------------------------------------------------------------------------------------------------------------------

Core was generated by `/jdk/bin/java -server -Xms3072M -Xmx3072M -XX:PermSize=128M -XX:MaxPer'.

Program terminated with signal 6, Aborted.

#0 0x00007f2af1d32645 in raise () from /lib64/libc.so.6

(gdb) bt

#0 0x00007f2af1d32645 in raise () from /lib64/libc.so.6

#1 0x00007f2af1d33c33 in abort () from /lib64/libc.so.6

#2 0x00007f2af1d6e8e8 in ?? () from /lib64/libc.so.6

#3 0x00007f2af1d74118 in ?? () from /lib64/libc.so.6

#4 0x00007f2af1d75c76 in free () from /lib64/libc.so.6

#5 0x00007f2af185b749 in os::free(void*) () from /jre1.6.0_18/lib/amd64/server/libjvm.so

#6 0x00007f2af14694c9 in CHeapObj::operator delete(void*) () from /jre1.6.0_18/lib/amd64/server/libjvm.so

#7 0x00007f2af1573db4 in Deoptimization::cleanup_deopt_info(JavaThread*, vframeArray*) ()

from /jre1.6.0_18/lib/amd64/server/libjvm.so

#8 0x00007f2af1573f3c in Deoptimization::unpack_frames(JavaThread*, int) () from /jre1.6.0_18/lib/amd64/server/libjvm.so

#9 0x00007f2aed6eaf3e in ?? ()

#10 0x00007f29ea4e31c8 in ?? ()

#11 0x00007f2aed6bc7e8 in ?? ()

#12 0xdeaddeaf00000005 in ?? ()

Another type of core:- -------------------------------------------------------------------------------------------------------------------------------------

Core was generated by `/jdk/bin/java -server -Xms3072M -Xmx3072M -XX:PermSize=128M -XX:MaxPer'.

Program terminated with signal 6, Aborted.

#0 0x00007f8d95345645 in raise () from /lib64/libc.so.6

(gdb) bt

#0 0x00007f8d95345645 in raise () from /lib64/libc.so.6

#1 0x00007f8d95346c33 in abort () from /lib64/libc.so.6

#2 0x00007f8d953818e8 in ?? () from /lib64/libc.so.6

#3 0x00007f8d95387118 in ?? () from /lib64/libc.so.6

#4 0x00007f8d95388c76 in free () from /lib64/libc.so.6

#5 0x00007f8d93cd2285 in ZIP_FreeEntry () from /jre1.6.0_18/lib/amd64/libzip.so

#6 0x00007f8d93cca89f in Java_java_util_zip_ZipFile_freeEntry () from /jre1.6.0_18/lib/amd64/libzip.so

#7 0x00007f8d90ef1716 in ?? ()

#8 0x00000000fffffffb in ?? ()

#9 0x0000000000000400 in ?? ()

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

JBoss starting with these parameters:

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

ulimit -c unlimited

echo /var/log/core-%e-%p-%t > /proc/sys/kernel/core_pattern

JAVA_OPTS="-server -Xms3072M -Xmx3072M -XX:PermSize=128M -XX:MaxPermSize=512M -XX:+UseParallelGC -XX:-UseGCOverheadLimit -Djava.endorsed.dirs=$JBOSS_HOME/lib/endorsed -Djava.awt.headless=true -Dnextone.tmpdir=$NEXTONE_TMP -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=false -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.util.logging.manager=java.util.logging.LogManager"

export JAVA_HOME JAVA_OPTS

export JBOSS_HOME

umask 000

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

Thanks

Ajay Nirankari