SA-MP Forums Archive
CPU usage on the server - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CPU usage on the server (/showthread.php?tid=259984)



CPU usage on the server - ColdIce - 06.06.2011

Hello. I am using serverffs to host my server and they are always restarting it! The cpu usage is around 150% and peaks at 196% and 7.8% RAM

I have deleted ALOT of objects and cars from the GM and it doesnt change anything! I have tried to disable all fs, but didnt fix anything so the problem must be the GM.

Is there something that might be the cause for all of this? If you have ANY idea, please let me know so I can try it!


Re: CPU usage on the server - Gamer_Z - 06.06.2011

well I have made a script that uses infite amount of memory, 1 sec - 10 mb, 20 sec - 2 gb - 20+ sec - pc crash xD

Anyway if you have many moving objects or timers and many or infite loops it can cause processors to deny further instructions.


Re: CPU usage on the server - Blacklite - 06.06.2011

Try running LVDM for a few hours with no filterscripts or plugins etc. If it doesn't work, tell them what you did and demand at least a partial refund for the days you have already paid for.

Otherwise, it's your script. Debug it on your local computer.


Re: CPU usage on the server - ColdIce - 06.06.2011

Quote:
Originally Posted by Blacklite
Посмотреть сообщение
Try running LVDM for a few hours with no filterscripts or plugins etc. If it doesn't work, tell them what you did and demand at least a partial refund for the days you have already paid for.

Otherwise, it's your script. Debug it on your local computer.
I am running it on lvdm and turned everything off.
Goes from 134%-242% :S


Re: CPU usage on the server - Blacklite - 07.06.2011

Quote:
Originally Posted by ColdIce
Посмотреть сообщение
I am running it on lvdm and turned everything off.
Goes from 134%-242% :S
Well, the first thing they will do is get you to re-install it. Try that, then if it doesn't work, open a support ticket, and be clear that you have already re-installed it, and tried a "blank" game mode (LVDM).


Re: CPU usage on the server - Famalamalam - 07.06.2011

ServerFFS is overloaded.


Re: CPU usage on the server - Gamer_Z - 07.06.2011

Quote:
Originally Posted by Famalamalam
Посмотреть сообщение
ServerFFS is overloaded.
I agree, They give you a warm welcome, and once you are inside it's cold.. brrrr. Nothing good!


Re: CPU usage on the server - ColdIce - 07.06.2011

And what do you recommend instead? Volt?


Re: CPU usage on the server - Gamer_Z - 07.06.2011

I recommend less popular, yet small hosting companies.
they have not such server loads.


Re: CPU usage on the server - Face9000 - 07.06.2011

Quote:
Originally Posted by ColdIce
Посмотреть сообщение
And what do you recommend instead? Volt?
I recommend this:

http://*******/kDgpUC

It's cheap and lag-free.