PDA

View Full Version : Urgent help: Server hanging and freezing


Marricio
16/05/2012, 12:38 AM
Hey there guys,
I have a roleplay script, and about every hour or so, I get one problem, that is my server CPU rocketing to over %100 and the server will show no response. when I click it in the server list, the ping will update, but nobody can connect and the player list will be still.

I think that this is probably caused by a never-ending loop, but I've went through almost all my for loops and my while are clean. I've removed alot of code under OnPlayerUpdate, checked my login scripts, and nothing. Also I do very little mass saving (basically saving small data on-the-run and on player disconnect/login).

Is there a sort of plugin or way to track the cause of this? -crashdetect wouldn't be useful since the server isn't crashing, but having a sort of hanging state, probably caused by a never-ending loop.

SnG.Scot_MisCuDI
16/05/2012, 12:40 AM
Home-Hosted?

Marricio
16/05/2012, 12:42 AM
Volt-Host.

miley1
16/05/2012, 12:42 AM
What is your Internet contection , How many Per second or something idk how to say it

SnG.Scot_MisCuDI
16/05/2012, 12:44 AM
I had the problem with mine, but i solved it by doing an auto restart every 3 hours to refresh everything

Marricio
16/05/2012, 12:44 AM
I'm not sure if you know what you are talking about. This problem causes my Volt-Host server to crash, and as I said in the original post. I want to know if there are ways to track the problem. I don't want to add an auto-restart neither, not every hour.

Edward156
16/05/2012, 12:46 AM
Mind showing us your server_log?

SnG.Scot_MisCuDI
16/05/2012, 12:48 AM
i know what your talking about.. I had that problem but the restart fixed it. I never found out what caused it so cant help you there

Marricio
16/05/2012, 12:54 AM
Mind showing us your server_log?

It's not relative but..

[02:01:52]bind CENSORED.IP Incoming connection: 108.56.188.125:61295
[02:01:52]bind CENSORED.IP [join] Shy_Glizzy has joined the server (15:108.56.188.125)
[02:03:32]bind CENSORED.IP [chat] [Shy_Glizzy]: im bleeding
[02:05:10]bind CENSORED.IP Incoming connection: 196.221.176.129:23203
[02:06:31]bind CENSORED.IP Incoming connection: 174.63.25.129:55300
[02:07:06]bind CENSORED.IP Incoming connection: 174.63.25.129:54823
[02:07:26]bind CENSORED.IP Incoming connection: 41.235.66.201:11826
[02:08:48]bind CENSORED.IP Incoming connection: 174.63.25.129:50361
[02:09:23]bind CENSORED.IP Incoming connection: 196.221.176.129:23310
[02:10:59]bind CENSORED.IP Incoming connection: 41.235.66.201:11929
[02:11:38]bind CENSORED.IP Incoming connection: 41.235.66.201:11945
[02:12:52]bind CENSORED.IP Incoming connection: 196.221.176.129:23531
[02:14:24]bind CENSORED.IP Incoming connection: 98.85.70.89:3403
[02:22:17]bind CENSORED.IP Incoming connection: 174.63.25.129:58798
[02:29:22]bind CENSORED.IP Incoming connection: 71.28.78.198:53041
All went smooth then this.

Edward156
16/05/2012, 01:08 AM
Can you show us the whole server_log? You can censor the filterscripts if you would like.