Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
Hey, It's been happening for a few weeks now. I thought it was just the object streamer i was using, making the server laggy then restart..
Well i've changed to a better streamer and its still happening.
The server just restarts every hour. Sometimes its like half hour after its last restarted. 9/10 times its every hour exactly.
I've checked timers, nothing that could be causing it.
The only thing i changed was the IRC echo script. I added some new commands and one extra bot. But the server would crash anyway if there was aproblem with that.
Restarts are exactly 1 hour apart...
Posts: 3,312
Threads: 33
Joined: Nov 2008
Reputation:
0
well what script are u using
maybe paste it in pastebin?
Posts: 1,843
Threads: 8
Joined: Nov 2008
Reputation:
0
Are you sure, there's not a hidden timer that returns the RCON command "GMX" every hour?
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
Script i made is about 17k lines long, and there no timer which forces a gmx.
the irc script is by Jacob, and i edited it to allow a 3rd echo bot, and added my own commands.
Posts: 1,843
Threads: 8
Joined: Nov 2008
Reputation:
0
Then it could maybe be a command you've put in. What commands did you add?
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
I just found out that it was being killed by server CPU protection.
There is something in my gamemode causing the CPU usage to go up to between 50 and 90 percent.
It stays around 2- 10% for a while then it gradually gets higher to around 20 then suddenly jumps to 40+ then 50-80 then the CPU protection kills it.
I've removed a lot of timers, changed a lot of things, but cant find the cause of it.
Not sure what else to do really... There isnt a lot of features that i think would put a strain on the CPU, so im not sure where the problem is.
Posts: 1,896
Threads: 102
Joined: Oct 2008
how it could crash every hour exactly without it being a timer somewhere
Posts: 303
Threads: 68
Joined: Dec 2008
Reputation:
0
Thats what i thought... but i was guesstimating..
It crashes randomly.. But... The CPU protection runs every 10 minutes.
So most of the time it takes upto an hour for the server to really be above the limit before the protection kills it.
Sometimes it can be 20minutes, sometimes 30mins 40 50, mostly its between 30 and 60 minutes.
But i spoke with the server providors and they told me its CPU protection killing the server.
I checked the CPU usage and it stays stable for a while then gradually starts building up
Posts: 1,896
Threads: 102
Joined: Oct 2008
mabey somewhere its checking something and doubling each time?