17.12.2015, 12:57
G'day
Running my server, went to go in it today and it was down, logged into my host to get a message saying it has been automatically turned off due to high CPU usage... I asked them and they said
"discovered your server code has an infinite loop which is initiated as soon as the server is started. I would recommend checking any code/functions which are included OnGameModeInit and any recent plugins you added to your server."
Anyway it's originating from my streamer.pwn (I run my gamemode in separate parts)
I've been through all of it 3 times and can't see anything that would cause this.
So when the server is initiated, something in one of my gamemode parts (streamer(objects, pickups, text, etc)) does an infinite loop causing high CPU.
I highly doubt anyone will know an answer but yeah thanks
Running my server, went to go in it today and it was down, logged into my host to get a message saying it has been automatically turned off due to high CPU usage... I asked them and they said
"discovered your server code has an infinite loop which is initiated as soon as the server is started. I would recommend checking any code/functions which are included OnGameModeInit and any recent plugins you added to your server."
Anyway it's originating from my streamer.pwn (I run my gamemode in separate parts)
I've been through all of it 3 times and can't see anything that would cause this.
So when the server is initiated, something in one of my gamemode parts (streamer(objects, pickups, text, etc)) does an infinite loop causing high CPU.
I highly doubt anyone will know an answer but yeah thanks