SA-MP Forums Archive
Server CPU causing restarts - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server CPU causing restarts (/showthread.php?tid=313278)



Server CPU causing restarts - FreshRio - 25.01.2012

Hello,


Well, My server has been lately restarting by itself. In other words "Server Crashing" and Its caused by CPU.

(Excessive CPU Usage - 100.9%)
And then my server restarts with less players.

Would anyone know why this would be happening?


Respuesta: Server CPU causing restarts - [Nikk] - 25.01.2012

meabe you are consuming to much ram, lowers the size of the variables. Meabe that is the problem.


Re: Server CPU causing restarts - henry jiggy - 25.01.2012

Well RAM is linked to CPU but if the CPU usage is high it isn't necessarily RAM... can be because your server is overloading the cpu with a fuckload of math calculations (too many players lead towards that usually)... You sir, need an upgrade i guess.


Re: Server CPU causing restarts - FreshRio - 02.02.2012

upgrade of what? the sa:mp version or? what do you mean by upgrade.


Re: Server CPU causing restarts - KingHual - 02.02.2012

Quote:
Originally Posted by FreshRio
View Post
upgrade of what? the sa:mp version or? what do you mean by upgrade.
No, an upgrade of the computer/host's computer ... OR you can just optimize your scripts.


Re: Server CPU causing restarts - T0pAz - 02.02.2012

You are using unnecessary loops.

See this thread.