GameServer OnExit Called ()

04/14/2013 21:19 magicanoo#1
Hi,

Recently,many servers(mine included) have been suffering random gameserver crashes,in my case,sometimes associated with a C++ error and sometimes not.

~Facts about my server and Sr_gameserver:
-Relatively new,2 months old with the peak of 180 online players.
-24gb ram,and the cpu usage is low.
-no SSD.
-using chernobyl's 188 fort codecaved gameserver and evangelion 1.0.7
-NOT using 5-pet-page procedure.

~What happens?
Random crash for the gameserver,sometimes with the C++ runtime error and sometimes it just says stopped working,but the log always shows OnExit Called()
Sometimes just before the crash the shardmanager shows a flood of the message about SR RELAY EXP METER,then "server cord closed" after couple seconds.

~Suggested solutions that didn't work out:
-Removed the green-book-removal.
-Nopping the error msg offset.
-Replacing shardmanager/gameserver/evangelion.dll with several different copies.
-Removing all 3-days grab pets.
-Adding a 15seconds cooldown to all pet summons.
-Disabling all trade pets.

Any ideas?



p.s. If someone has a permanent private-not-to-share fix and is willing to sell it,nothing wrong with that,send me a pm.
04/14/2013 21:35 DaSroFreak#2
check R-A-G-E-Z-O-N-E
There is a thread with the same name in the release section.
04/14/2013 21:35 Kape7#3
I can't help you, I only can say that the SR_RELAY_EXP_METER messages from the shardmanager are normal when the gameserver closes, it shows 1 per character logged in during the runtime of the gameserver session, are related to the green book but I don't think that those are causing the crash.

OnExit also is the function that closes the gameserver, which makes me thing that it closes itself on purporse? Its weird.
C++ runtime errors can be anything.

Try using a non-patched gameserver (I mean, not using evangelion).
Good luck trying to fix it!
04/14/2013 21:35 [B]ase[J]umP#4
maybe the DB is overfilling with dump files?
04/14/2013 21:52 Kape7#5
Quote:
Originally Posted by [B]ase[J]umP View Post
maybe the DB is overfilling with dump files?
How is the DB and the dump files related?
04/14/2013 22:04 magicanoo#6
@dasrofreak,i've tried all their suggested solutions,no luck

@Synx,thanks for the explaination.

@Basejump,thanks but dumps generation is disabled,even though they are irrelevant with the DB
04/14/2013 22:15 [B]ase[J]umP#7
well im not an expert in serverfiles i just give out suggestions that could help
04/16/2013 17:10 Bloody Network#8
If you've made those pick pets 5/7 page , thats why the gameserver closing , make it back with 1 page , it will be fix , good luck mate ;)
04/16/2013 23:08 Haxor#9
You tried this?
[Only registered and activated users can see links. Click Here To Register...]
04/17/2013 00:19 FL0wshY#10
Do you use other version of windows?
I mean do you use windows server 2012? If you do then change to 2008 r2 standard
Also what version if sql do you use? if you use sql then change to enterprise or developer version.
04/17/2013 08:28 magicanoo#11
Quote:
Originally Posted by FL0wshY View Post
Do you use other version of windows?
I mean do you use windows server 2012? If you do then change to 2008 r2 standard
Also what version if sql do you use? if you use sql then change to enterprise or developer version.
I've been always using Windows 2008 R2 / SQL 2008 R2 Express .

Quote:
Originally Posted by ™Haxor™ View Post
You tried this?
[Only registered and activated users can see links. Click Here To Register...]
It's irrelevant,Alexandria is closed in my server anyway.

Quote:
Originally Posted by Bloody Network View Post
If you've made those pick pets 5/7 page , thats why the gameserver closing , make it back with 1 page , it will be fix , good luck mate ;)
Thanks,but as I already said,I don't use any custom PET inventory expansion procedures.
04/17/2013 11:56 Mykha*#12
Use SQL enterprise. Don't reply unless you do and try. People do talk theoretically but never try practically.
04/25/2013 13:07 magicanoo#13
Quote:
Originally Posted by Mykha* View Post
Use SQL enterprise. Don't reply unless you do and try. People do talk theoretically but never try practically.
I could not downgrade SQL 2008 R2 express to 2008 enterprise,so I upgraded to 2012 evaluation,which is supposed to be a commercial version.
The problem is still there.
04/25/2013 15:53 Mykha*#14
I meant MSSQL 2008 R2 enterprise.
04/25/2013 20:14 magicanoo#15
A question,can it be relevant somehow to the GS usage?
Everytime it reaches more than 2048mb of ram usage it crashes.

This is SO frustrating.