SA-MP Forums Archive
Random server restarts - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Random server restarts (/showthread.php?tid=302871)



Random server restarts - Unknownich - 10.12.2011

Hi all, I have a problem with server restarts. The server randomly restart every 5 hours, but, only if is 30+ players online, there is no crash log, crash detect plugin detects nothing, there is no empty strings and I copied every function to see witch one is last called and nothing. 2 weeks ago I get this error,

Exception At Address: 0x74C3B9BC
Registers:
EAX: 0x0018FB28 EBX: 0x00000000 ECX: 0x00000003 EDX: 0x00000000
ESI: 0x013928F8 EDI: 0x01392978 EBP: 0x0018FB78 ESP: 0x0018FB28

EFLAGS: 0x00000216

but Im not sure that this crash has something with these random restarts.


Re: Random server restarts - JoxyBullet - 11.12.2011

I can lookup that just provide full crashinfo.txt and full server version.


Re: Random server restarts - SnG.Scot_MisCuDI - 12.12.2011

If your home hosting it, thats the problem, its probably using too much of your internet connection that it just crashes. Get it hosted.


Re: Random server restarts - MP2 - 12.12.2011

https://sampwiki.blast.hk/wiki/Debugging


Re: Random server restarts - Unknownich - 12.12.2011

I already said, I did all this things you guys suggested, and server isnt home hosted but company hosted. The problem is that I dont know when these crashes started. I wasnt online so much last month. I already did debbuging, and I have no crash log ( crashlog is empty), this crash I posted is some old crash, I think it dont have nothing with these restarts. I just wondering if someone had problems with this before, nothing else..


Re: Random server restarts - olabv - 12.12.2011

I think its something with your Script. Happened to me once when i failed OnPlayerDeath. My bug was when you got killed server crashed.


Re: Random server restarts - Unknownich - 12.12.2011

Quote:
Originally Posted by olabv
Посмотреть сообщение
I think its something with your Script. Happened to me once when i failed OnPlayerDeath. My bug was when you got killed server crashed.
Yes is script, but found one small error in very long script is hard, and it isnt "crash", is random restart every 5 - 10 hours. I just wanna know what cause this in most cases (timers, strings, endless loops...) , it will be easier to find bug.


Re: Random server restarts - Astralis - 12.12.2011

Quote:
Originally Posted by Unknownich
Посмотреть сообщение
Yes is script, but found one small error in very long script is hard, and it isnt "crash", is random restart every 5 - 10 hours. I just wanna know what cause this in most cases (timers, strings, endless loops...) , it will be easier to find bug.
LOL. Maybe ur company set ur server to Auto restart every 5hr? (lol but if there is auto restarter then disable it)


Re: Random server restarts - Unknownich - 12.12.2011

I dont think so, because sometimes dont restart even 10 - 20 hours, and only restarts if is there 30 - 50 players online, never restarts with 5 - 10 players, weird.


Re: Random server restarts - Astralis - 12.12.2011

Quote:
Originally Posted by Unknownich
Посмотреть сообщение
I dont think so, because sometimes dont restart even 10 - 20 hours, and only restarts if is there 30 - 50 players online, never restarts with 5 - 10 players, weird.
And what ping your 30player got? If all 400or so it can cause lag. Didnt you thought about DDOS attacks?