[Weird problem] SR_GameServer

04/04/2013 19:29 FL0wshY#1
Hello,

There is a annoying error has been shown in sr_gameserver
After few days of figuring it out i seen that it is x32 and when it reach the limit which is 4gb its closes[crash] auto
Asked mykha and told me to change your sql server to a better version [gonna try this later]
But, what i wanted to do? 2 gameservers but, ye hyperfilter wanted $200 more for other ip to make 2 gameservers and actually it is too much for second month new root,hyperfilter etc also new web design and coder money is there any solution for this? better than paying more $200 for hyperfilter to make a second gameserver
The error: [SR_GameServer] OnExit() Called and [SR_ShardManager] OnExit() Called happens every time the sr_gameserver reaches 4gb of rams about shardmanager ones happend once and was before ctf starts

~ What i have done? Fixed transport pet bug, decreased the mobs from 46k to 36k still the same crash after 12 hours, none fixed it.

I hope someone may know a fix for this problem,

~ It may be wrong section but, my thread was in ask the experts for over 12 hours and no one replied.

Thanks,
Regards
04/04/2013 19:50 鳳凰城#2
Well, Even with that extra IP, The service of 2x gameservers won't be like normal with hyperfilter.
About that 4GB shit, You should try the paid sql version. Because it sometimes fucks the exe load from database to server files to clients. Complicated situation ...
By the way, How dafuq is the gameserver's ram usage reaches 4GB :eek: .. It's maximum on a good root with 16GB of ram about 1.5GB ram usage. Weird but, Gonna discover it.. Can you upload your GS dumps?
04/04/2013 19:58 Mykha*#3
my gs stops at 3.7 gb then swaps all the memory load to the sql server so do exactly as i said and you will have it solved.
04/04/2013 20:08 PortalDark#4
The ask the expert section is more oriented for little questions and doubts
but this can be posted ere as well, aside that being 12h and no answer a good reason
04/04/2013 20:19 Schickl#5
ofc the gameserver will crash if it reaches 4GB(no more memory)
that's why 32-Bit often isn't enough for newer programs
I tried to run the server files on my PC once just for fun and the GS went up to 2GB(eu and china enabled)
since 36k mobs aren't much I doubt that this is the problem

It probably is a bug.
Does it happen under load or even when there are no users on?


also:
"swaps all the memory load to the sql server"
Now that is something I really don't believe
The GS might start executing all pending queries and free the memory allocated by them, because it's running out of memory, but I don't know how it should "swap the memory load"
04/04/2013 20:32 FL0wshY#6
Quote:
Originally Posted by Schickl View Post
ofc the gameserver will crash if it reaches 4GB(no more memory)
that's why 32-Bit often isn't enough for newer programs
I tried to run the server files on my PC once just for fun and the GS went up to 2GB(eu and china enabled)
since 36k mobs aren't much I doubt that this is the problem

It probably is a bug.
Does it happen under load or even when there are no users on?


also:
"swaps all the memory load to the sql server"
Now that is something I really don't believe
The GS might start executing all pending queries and free the memory allocated by them, because it's running out of memory, but I don't know how it should "swap the memory load"
I'm using sql server 2008 r2 standard and i'm using windows server 2012 standard so i'm thinking to change to sql server 2012 enterprise
Would it solve my problem?
04/04/2013 20:59 深路在线#7
More RAM...
04/04/2013 21:08 FL0wshY#8
Quote:
Originally Posted by 深路在线 View Post
More RAM...
I got 64 gb ram
04/04/2013 21:53 Schickl#9
Quote:
Originally Posted by 深路在线 View Post
More RAM...
That won't help at all
My PC has 32GB and that doesn't help a 32-Bit executable at all
The addresses are 32-Bit long and 2^32 = 4294967296 -> 4Gbyte

Now that really is some basic stuff you should know


@OP:
I doubt that upgrading your SQL server will help
I don't see what should make a more expensive version better(in this case)
04/04/2013 22:28 Mykha*#10
@Schickl
not "swapping" specifically, but i have been running servers for long enough to know all about that. If i use standard on my server, sqlserver.exe stays at 4GB and gs crashes.
If i use enterprise, sqlserver.exe reaches 22Gb and gs stays exactly at 3.7.

@OP
Please do the following, use enterprise version and if that doesn't work use Win2008 + MSSQL Enterprise edition.
04/04/2013 22:30 Nezekan#11
limit zones, use 2 gameservers (better even 3) and upgrade mssql to a decent version
04/04/2013 22:42 FL0wshY#12
Quote:
Originally Posted by Nezekan View Post
limit zones, use 2 gameservers (better even 3) and upgrade mssql to a decent version
Did you try to read the whole thread?
[Only registered and activated users can see links. Click Here To Register...]
Currently and stays at 2,9GB never moved since the last restart i have just played around in sql,server.cfg,certification and it is stays at 2,9GB now.
Looks great,
Thanks for everyone who helped me.

~ sorry portaldark if this was wrong section but, ye thanks goes to the people who replied to this thread for helping me out, thanks!
04/04/2013 22:45 Schickl#13
Quote:
Originally Posted by Nezekan View Post
limit zones, use 2 gameservers (better even 3) and upgrade mssql to a decent version
Please tell me one feature a more expensive SQL Server has that would help the Gameserver save memory
04/05/2013 00:27 elfuria#14
Does joymax have a 64 bit version of GS? Probably a noob question but eh xD
04/05/2013 00:45 lesderid#15
Quote:
Originally Posted by elfuria View Post
Does joymax have a 64 bit version of GS? Probably a noob question but eh xD
Why don't you ask them?