Urgent help: Server hanging and freezing
#1

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.
Reply
#2

Home-Hosted?
Reply
#3

Volt-Host.
Reply
#4

What is your Internet contection , How many Per second or something idk how to say it
Reply
#5

I had the problem with mine, but i solved it by doing an auto restart every 3 hours to refresh everything
Reply
#6

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.
Reply
#7

Mind showing us your server_log?
Reply
#8

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
Reply
#9

Quote:
Originally Posted by Edward156
Посмотреть сообщение
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.
Reply
#10

Can you show us the whole server_log? You can censor the filterscripts if you would like.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)