SA-MP Forums Archive
CPU Usage - 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: CPU Usage (/showthread.php?tid=475105)



CPU Usage - CONTROLA - 11.11.2013

Hey guys, I'm having a problem on my server.. It's using about 0.2% CPU for every player connected. The problem is that it's not the gamemode - but the server. I tested the usage using grandlarc and it was the same! When I'm reaching ~270 players online the server gets laggy!

What would be the causes? I'm using Debian 5 32-bit on my host and it's not a private SA:MP host; it's hosted on a dedicated server which has some pretty high specs.


Re: CPU Usage - Sublime - 11.11.2013

Wrong board, should be in Server Support.

((Btw, why do you even care about 0.2% RAM consumable for each player o_o))


Re: CPU Usage - CONTROLA - 11.11.2013

It's 0.2% CPU, not RAM. And I already mentioned that when I'm reaching ~270 players online it starts to get laggy.

Sorry for posting in the wrong board. I'm starting a new topic at the right section. Sorry!


Re: CPU Usage - Djole1337 - 11.11.2013

Quote:
Originally Posted by CONTROLA
Посмотреть сообщение
It's 0.2% CPU, not RAM. And I already mentioned that when I'm reaching ~270 players online it starts to get laggy.
Can you post your dedi specs?


Re: CPU Usage - CONTROLA - 11.11.2013

CPU 1 core 3.4 GHz, 2GB of RAM, 15 GB HDD


Re: CPU Usage - Djole1337 - 11.11.2013

You should consider upgrading your CPU. 1 core is not enough for ~270.


Re: CPU Usage - CONTROLA - 11.11.2013

SA:MP is single-threaded.