[Help] Java Crash

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

[Help] Java Crash

Post 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
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: [Help] Java Crash

Post by hope »

Try 2g instead of 4g
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

Re: [Help] Java Crash

Post by Mage »

hope wrote:Try 2g instead of 4g
Ok thank you. Testing...
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: [Help] Java Crash

Post by MELERIX »

and update Java version ;)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [Help] Java Crash

Post by jurchiks »

I think you're missing an "8" there: -Dfile.encoding=UTF- <- here
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

Re: [Help] Java Crash

Post 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.
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: [Help] Java Crash

Post by JIV »

jvm or HW problem, not L2j issue
Edelvez
Posts: 173
Joined: Fri Nov 06, 2009 6:32 am
Location: Argentina

Re: [Help] Java Crash

Post by Edelvez »

System structure? 32bit or 64bit?
Someone once told me: "The easiest way of doing things, making them the hard way" ;)
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

Re: [Help] Java Crash

Post by Mage »

Edelvez wrote:System structure? 32bit or 64bit?
64 bit
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

Re: [Help] Java Crash

Post 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
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
Edelvez
Posts: 173
Joined: Fri Nov 06, 2009 6:32 am
Location: Argentina

Re: [Help] Java Crash

Post by Edelvez »

There you are going through the 4GB, remember to always leave at least 1 GB for the operating system.
Someone once told me: "The easiest way of doing things, making them the hard way" ;)
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

Re: [Help] Java Crash

Post 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# 
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [Help] Java Crash

Post by jurchiks »

Why don't you try using Sun/Oracle JDK and not OpenJDK?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply