SA-MP Forums Archive
Centos6 x64 with 1xx mem used more than 50% CPU ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Centos6 x64 with 1xx mem used more than 50% CPU ? (/showthread.php?tid=608527)



Centos6 x64 with 1xx mem used more than 50% CPU ? - Chocopie - 02.06.2016

samp consume excessive CPU while the member is being accessed is at 70> 150 is my CPU operating at 50% (approximately 51> 53%). Meanwhile the ram using just stop at 12%. There are problems with the SA-MP? or that the problem lies in my server? I ran dedicated servers configuration:

Quote:

CPU Intel Xeon E5620
08 GB RAM DDR3 ECC
01 x 120GB SSD SAMSUNG
Network : 200Mbps / 04Mbps
Bandwidth : Unlimited





Re: Centos6 x64 with 1xx mem used more than 50% CPU ? - xPhantom - 02.06.2016

Make sure your script is optimized, the CPU on that server is a bit old.


Re: Centos6 x64 with 1xx mem used more than 50% CPU ? - Chocopie - 02.06.2016

Quote:
Originally Posted by xPhantom
Посмотреть сообщение
Make sure your script is optimized, the CPU on that server is a bit old.
Should i go with X5650 or E3-1220 v3 ?


Re: Centos6 x64 with 1xx mem used more than 50% CPU ? - Sublime - 02.06.2016

Quote:
Originally Posted by Chocopie
Посмотреть сообщение
Should i go with X5650 or E3-1220 v3 ?
E3-1220 v3 imo is x10 better, X5650 was launched around 2010? lol


Re: Centos6 x64 with 1xx mem used more than 50% CPU ? - Deroxi - 02.06.2016

OMFG u are running sampserver as ROOT... make another user and move the sampfiles to that user


Re: Centos6 x64 with 1xx mem used more than 50% CPU ? - dugi - 02.06.2016

Quote:
Originally Posted by Chocopie
Посмотреть сообщение
Should i go with X5650 or E3-1220 v3 ?
The current CPU is fine for a sa-mp server, the issue here is your code.


Re: Centos6 x64 with 1xx mem used more than 50% CPU ? - Chocopie - 05.06.2016

Quote:
Originally Posted by dugi
Посмотреть сообщение
The current CPU is fine for a sa-mp server, the issue here is your code.
The problem is so much object(per player) or timer or looping as much for 1 seconds ?