My server using an excessive amount of CPU
#1

I am having problems with excessive CPU usage in my gamemode script. It only started crashing just recently. I cannot pinpoint when it started or what I've added that may have caused it because I've added so many things here and there. Its only gotten worse over time and I don't know what to do.

Any insight that you have would be great, I would like to know what kinds of things would cause these CPU usage spikes so suddenly I normally have a 2-4% CPU usage and now the average is around 40%. It gets worse the more players that are online.

#define MAX_PLAYERS 70
maxplayers 70

I am using Volt-Host and have already consulted them about this, it seems it has nothing to do with their servers, only my script.

Quote:

Restarted (Excessive CPU Usage - 94.1%)

Restarted (Excessive CPU Usage - 97.2%)

Restarted (Excessive CPU Usage - 91.1%)

Restarted (Excessive CPU Usage - 91.6%)

Restarted (Excessive CPU Usage - 86.8%)

Restarted (Excessive CPU Usage - 97.6%)

Restarted (Excessive CPU Usage - 84.8%)

Restarted (Excessive CPU Usage - 84.1%)

Restarted (Excessive CPU Usage - 81.1%)

Restarted (Excessive CPU Usage - 103.4%)

Restarted (Excessive CPU Usage - 83.3%)

Restarted (Excessive CPU Usage - 91.5%)

Restarted (Excessive CPU Usage - 102.5%)

Restarted (Excessive CPU Usage - 83.5%)

Restarted (Excessive CPU Usage - 83.4%)

Reply


Messages In This Thread
My server using an excessive amount of CPU - by vvhy - 07.05.2013, 12:30
Re: My server using an excessive amount of CPU - by vvhy - 07.05.2013, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)