Hi guys
I have got SFS Basic working well, with a flash application I wrote. It is excellent!
But, every so often, the server shuts down for no reason. I get this error:
INFO | jvm 1 | 2008/07/19 09:27:49 | 09:27:49.053 - [ INFO ] > Server is up and running!
STATUS | wrapper | 2008/07/19 09:47:25 | TERM trapped. Shutting down.
or here is another example:
INFO | jvm 1 | 2008/07/18 00:01:04 | 00:01:04.254 - [ INFO ] > Server is up and running!
INFO | jvm 1 | 2008/07/18 00:20:23 | 00:20:23.913 - [ WARNING ] > SysHandler -> Bad room id. Action: asObj >> java$
STATUS | wrapper | 2008/07/18 00:30:33 | TERM trapped. Shutting down.
So, the server runs for 20 or 30 mins then dies.
I am not a Linux expert, so can you help me to diagnose the problem?
John
"TERM trapped. Shutting down" server stops unexpe
-
johnsquires
- Posts: 5
- Joined: 08 Jul 2008, 20:11
Today i also had this Error Message "Error Trapped".Lapo wrote:Try starting the server with the start.sh script instead of sfs. This will start the JVM alone without the native third-party wrapper.
If you need to restart/stop the server you can use the provided admin tool
Hope it helps
INFO | jvm 1 | 2008/12/12 11:28:41 | INFO: Disconneting idle user: xxx
INFO | jvm 1 | 2008/12/12 11:31:21 | 11:31:21.893 - [ INFO ] > Disconneting idle user: xxxx
INFO | jvm 1 | 2008/12/12 11:31:21 | Dec 12, 2008 11:31:21 AM it.gotoandplay.smartfoxserver.lib.ConnectionCleanerTask run
INFO | jvm 1 | 2008/12/12 11:31:21 | INFO: Disconneting idle user: xxx
STATUS | wrapper | 2008/12/12 11:34:37 | TERM trapped. Shutting down.
Is there a known Problem with Tanuki?
We know that Tanuki and Linux CentOS tend to fight each other, although the reason is unknown.
What version of SFS are you using?
Judging from the last message fired by the Wrapper it would be also possible that the application has received a SIG_TERM from an admin? ( a kill, in other words ) Possible?
What version of SFS are you using?
Judging from the last message fired by the Wrapper it would be also possible that the application has received a SIG_TERM from an admin? ( a kill, in other words ) Possible?
It should be possible to ignore SIG_TERM and -INT.Lapo wrote: Judging from the last message fired by the Wrapper it would be also possible that the application has received a SIG_TERM from an admin? ( a kill, in other words ) Possible?
Please read here how to do that:
http://wrapper.tanukisoftware.org/doc/e ... gnals.html
Thanks for pointing to that page. I found this interesting:
As suggested you should be able to add this line:
in your Server/conf/wrapper.conf file to ignore those signals.
Let me know if it works
... could be the culprit.On UNIX systems, some backup programs that run as cron jobs will send out system wide TERM signals that can cause the Wrapper to shutdown. These signals can be ignored by setting this property to true.
As suggested you should be able to add this line:
Code: Select all
wrapper.ignore_signals=trueLet me know if it works