SA-MP Forums Archive
server keep freezing - 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: server keep freezing (/showthread.php?tid=233683)



server keep freezing - enrique_uzair@hotmail.com - 02.03.2011

hey please anyone can help me i got this error

We have restarted your server (#26491 - SA-MP Server) because it was using 100% CPU (peaked at 100% CPU) and 0.3% RAM for a period of time.
Considering your server only has 30 Players, this usage is way too high and has a bad influence on other servers we are hosting.
You should either optimize your custom settings (maps, gamemodes, addons, etc.) or, if you don't know how to do so, reinstall your server and run it on it's default settings.


anyone have exp ?


Re: server keep freezing - Mauzen - 02.03.2011

Well, looks like your server hang for some time, so they restarted it. This is a pure script problem, optimize it and it will be fine, especially look for long loops that might lag the server.


Re: server keep freezing - enrique_uzair@hotmail.com - 02.03.2011

can u give me any idea how can i fix it ?


Re: server keep freezing - XFlawless - 02.03.2011

You can use foreach etc......to optimize the script.


Re: server keep freezing - enrique_uzair@hotmail.com - 02.03.2011

im kinda new i dont know anything .. i just took the gta rp and upload it .. can anyone help me how can i fix it ?


Re: server keep freezing - XFlawless - 02.03.2011

Here
Also reduce unwanted cells in the script.


Re: server keep freezing - enrique_uzair@hotmail.com - 02.03.2011

thank you so much i will tell to my brother to fix it because he is scripter .. once again thank u


Re: server keep freezing - Voldemort - 02.03.2011

check all while, and all loops


Re: server keep freezing - Raz0r1000 - 02.03.2011

OR don't use someones downloaded script?


Re: server keep freezing - enrique_uzair@hotmail.com - 03.03.2011

i reduce unwanted cell but still i having same server freezing prb