Hi all,
I'm develop my game using SmartFox Server 2x. But in while testing, server SmartFox sometime crashed ( java core dump with file pid_ ) . I very worry becase If I lauching my Game with unstable server, it can be impact to success of it.
Have any one encounterd the same error.
I attach file pid when SmartFox crash. I'm running with Java Option -Xmx2G -Xms2G -XX:PermSize=256M and only few player are playing game before crashed ( I monitored Mem end Thread , every thing is normal )
Smartfox crash
Re: Smartfox crash
Sory, I attach pid file
- Attachments
-
- hs_err_pid9036.rar
- (27.96 KiB) Downloaded 626 times
Re: Smartfox crash
Hi,
this is a low level crash of the JVM which is a rarity.
The fact that it happens randomly when testing suggests that there may a problem at the OS level. What brand and version of Linux are you running?
Is it an old CentOS by any chance?
Is it a development machine or a dedicated server?
Also what SFS version are you running?
Thanks
ps = you posted in the wrong forum (SFS 1.x) I have moved it under the SFS2X section
this is a low level crash of the JVM which is a rarity.
The fact that it happens randomly when testing suggests that there may a problem at the OS level. What brand and version of Linux are you running?
Is it an old CentOS by any chance?
Is it a development machine or a dedicated server?
Also what SFS version are you running?
Thanks
ps = you posted in the wrong forum (SFS 1.x) I have moved it under the SFS2X section
Re: Smartfox crash
Thanks admin.
This is infor of my Server OS (Centos)
[root@thienloc SFS2X]# uname -a
Linux thienloc.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
I'm using SmartFox 2.8 and java include in SmartFox is
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Server VM (build 23.21-b01, mixed mode)
You have new mail in /var/spool/mail/root
I have changed to another Java 64 bit but the same
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
This is infor of my Server OS (Centos)
[root@thienloc SFS2X]# uname -a
Linux thienloc.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
I'm using SmartFox 2.8 and java include in SmartFox is
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Server VM (build 23.21-b01, mixed mode)
You have new mail in /var/spool/mail/root
I have changed to another Java 64 bit but the same
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
Re: Smartfox crash
From your description it looks like you are running Linux CentOS 5.
We have had a number of reports of instabilities with this OS, in particular with versions 4 and 5, which are also quite old.
I would recommend to either upgrade at least to CentOS 6.5 or move to a more stable OS such as Ubuntu and Debian.
Cheers
p.s. = we have done a lot of stress testing under CentOS 6.5 and never found a problem so it seems the instability Is present only in older version of the OS.
We have had a number of reports of instabilities with this OS, in particular with versions 4 and 5, which are also quite old.
I would recommend to either upgrade at least to CentOS 6.5 or move to a more stable OS such as Ubuntu and Debian.
Cheers
p.s. = we have done a lot of stress testing under CentOS 6.5 and never found a problem so it seems the instability Is present only in older version of the OS.
Re: Smartfox crash
I already deployed to other Server. Info of Server
[root@srv1 SFS2X]# cat /etc/*-release
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
But server is crash after 5 day (attach with pid file). I'm very worry about this bug .
I'm upgrade to newest version ([ 2.9.0 ]) with license 200.
===================================
LICENSE DETAILS
-----------------------------------
Type : Retail
Max users : 200
===================================
[root@srv1 SFS2X]# cat /etc/*-release
CentOS release 6.5 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
But server is crash after 5 day (attach with pid file). I'm very worry about this bug .
I'm upgrade to newest version ([ 2.9.0 ]) with license 200.
===================================
LICENSE DETAILS
-----------------------------------
Type : Retail
Max users : 200
===================================
- Attachments
-
- hs_err_pid29464.rar
- (14.15 KiB) Downloaded 621 times
Re: Smartfox crash
Both crashes are triggered by the same JVM code:
Searching the web I've found reports of similar issues in the JVM although they are not reproducible:
https://bugs.openjdk.java.net/browse/JDK-8130466
One recommendation I have is to turn off the AUTO-RELOAD mode for Extensions in your zone. If you need to re-deploy your server code it is much safer to upload your .jar file(s) first and once they have been transferred completely you can trigger the reloading manually via AdminTool > Zone Monitor > Extension.
This may have an impact on the crashes because at least one of the two you have reported was triggered by an auto-reload, which should always be turned off in production as explained in the documentation.
Let us know if it helps.
Code: Select all
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J java.util.zip.ZipFile.getEntry(J[BZ)J
J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
j java.net.URLClassLoader$1.run()Ljava/lang/Class;+26
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
...
...
...
Searching the web I've found reports of similar issues in the JVM although they are not reproducible:
https://bugs.openjdk.java.net/browse/JDK-8130466
One recommendation I have is to turn off the AUTO-RELOAD mode for Extensions in your zone. If you need to re-deploy your server code it is much safer to upload your .jar file(s) first and once they have been transferred completely you can trigger the reloading manually via AdminTool > Zone Monitor > Extension.
This may have an impact on the crashes because at least one of the two you have reported was triggered by an auto-reload, which should always be turned off in production as explained in the documentation.
Let us know if it helps.
Re: Smartfox crash
Thanks Lapo.
I'll try and feedback letter.
I'll try and feedback letter.
Who is online
Users browsing this forum: No registered users and 129 guests