Page 1 of 1

[Help] Java Crash

Posted: Tue Nov 30, 2010 5:53 pm
by Mage
Hello community,

I'm searching little help about Java Runtime Environment.

This is the Error:

Code: Select all

## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x00007fd3f7e819be, pid=27058, tid=140541831493376## JRE version: 6.0_20-b02# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.3-b01 mixed mode linux-amd64 )# Problematic frame:# V  [libjvm.so+0x2de9be]## An error report file with more information is saved as:# /home/...## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp#
To start GameServer i use:

Code: Select all

-Dfile.encoding=UTF- -XX:MaxPermSize=2g -Xms1g -Xmx4g
The machine is shared with other GS of other Server. But we have 4 GB of RAM memory dedicated.

Thank you for help,
Mage

Re: [Help] Java Crash

Posted: Tue Nov 30, 2010 6:13 pm
by hope
Try 2g instead of 4g

Re: [Help] Java Crash

Posted: Tue Nov 30, 2010 6:27 pm
by Mage
hope wrote:Try 2g instead of 4g
Ok thank you. Testing...

Re: [Help] Java Crash

Posted: Tue Nov 30, 2010 6:32 pm
by MELERIX
and update Java version ;)

Re: [Help] Java Crash

Posted: Tue Nov 30, 2010 6:40 pm
by jurchiks
I think you're missing an "8" there: -Dfile.encoding=UTF- <- here

Re: [Help] Java Crash

Posted: Wed Dec 15, 2010 12:53 pm
by Mage
Problem persist, now i tried with this config:

Code: Select all

-Dfile.encoding=UTF-8 -XX:MaxPermSize=2g -Xss8m -Xms1g -Xmx3g
But Server crashed:

Code: Select all

 ## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x00007f457474360e, pid=24254, tid=139930812724992## JRE version: 6.0_21-b06# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 )# Problematic frame:# V  [libjvm.so+0x2ed60e]## An error report file with more information is saved as:# /home/xxx## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp# 
I'm using a VPS with 4 gb of RAM dedicated.

Re: [Help] Java Crash

Posted: Wed Dec 15, 2010 4:06 pm
by JIV
jvm or HW problem, not L2j issue

Re: [Help] Java Crash

Posted: Thu Dec 16, 2010 10:52 am
by Edelvez
System structure? 32bit or 64bit?

Re: [Help] Java Crash

Posted: Thu Dec 16, 2010 1:52 pm
by Mage
Edelvez wrote:System structure? 32bit or 64bit?
64 bit

Re: [Help] Java Crash

Posted: Thu Dec 16, 2010 1:55 pm
by Mage
Server have crash in random time. During night, morning and evening.

I don't know what can i do.

Code: Select all

-Dfile.encoding=UTF-8 -XX:MaxPermSize=1g -Xss16m -Xms512m -Xmx3500m

Code: Select all

## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x00007f6364d65bd8, pid=10741, tid=140059962746624## JRE version: 6.0_21-b06# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64 )# Problematic frame:# V  [libjvm.so+0x654bd8]## An error report file with more information is saved as:# /home/xxx## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp#
This is the Machine, we have ONLY 4 gb of Ram dedicated.

Code: Select all

---------------  S Y S T E M  --------------- OS:squeeze/sid uname:Linux 2.6.34.6-grsec-IPv4-M-Libra #1 SMP Sun Oct 3 14:41:01 CEST 2010 x86_64libc:glibc 2.11.1 NPTL 2.11.1 rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinityload average:0.91 0.68 0.57 CPU:total 8 (8 cores per cpu, 2 threads per core) family 6 model 26 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht Memory: 4k page, physical 12321512k(386328k free), swap 2102128k(1928356k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0-b16) for linux-amd64 JRE (1.6.0_21-b06), built on Jun 22 2010 01:10:00 by "java_re" with gcc 3.2.2 (SuSE Linux) time: Thu Dec 16 14:44:35 2010elapsed time: 9715 seconds

Re: [Help] Java Crash

Posted: Fri Dec 17, 2010 11:49 am
by Edelvez
There you are going through the 4GB, remember to always leave at least 1 GB for the operating system.

Re: [Help] Java Crash

Posted: Fri Jan 06, 2012 3:14 pm
by Mage
I know that this topic is very old, but i have always the same problem.

Code: Select all

 ## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x010006e5, pid=23559, tid=2319997840## JRE version: 6.0_20-b20# Java VM: OpenJDK Server VM (19.0-b09 mixed mode linux-x86 )# Derivative: IcedTea6 1.9.10# Distribution: CentOS release 5.7 (Final), package rhel-1.23.1.9.10.el5_7-i386# Problematic frame:# V  [libjvm.so+0x3b46e5]## An error report file with more information is saved as: ## If you would like to submit a bug report, please include# instructions how to reproduce the bug and visit:#   http://icedtea.classpath.org/bugzilla# 

Re: [Help] Java Crash

Posted: Fri Jan 06, 2012 9:35 pm
by jurchiks
Why don't you try using Sun/Oracle JDK and not OpenJDK?