SA-MP Forums Archive
Server lag 500+ people - 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 lag 500+ people (/showthread.php?tid=562237)



Server lag 500+ people - cm666 - 07.02.2015

Car little detain and players too. CHat little lags.
Use strcmp in command orderly?
OnPlayerUpdate empty. Why lags?
CPU use ~70%


Re: Server lag 500+ people - Misiur - 07.02.2015

No code = no diagnosis. Probably your persistence mechanism (either files or rdbms) sucks. Or you update too much too often. Use threaded queries, run a profiler (there's a plugin somewhere), find a bottleneck and fix it.


Re: Server lag 500+ people - cm666 - 07.02.2015

Use threaded queries ,not good ? Me use MySQL plugin latest version http://forum.sa-mp.com/showthread.ph...ewpost&t=56564

Mod does not use the files.


AW: Server lag 500+ people - Mellnik - 07.02.2015

Wow. You obviously have no idea of anything but still run a server with 500 players.


Re: AW: Server lag 500+ people - cm666 - 07.02.2015

Quote:
Originally Posted by Mellnik
Посмотреть сообщение
Wow. You obviously have no idea of anything but still run a server with 500 players.
What ?
Where online 200-350 server no lags


Re: Server lag 500+ people - CalvinC - 07.02.2015

There's alot of stuff that can affect your script in various ways with small lag, and with many players that can turn into more and more lag, you should try to optimise your script.


Re: Server lag 500+ people - Misiur - 07.02.2015

Eh, I'll even post the link for you: https://sampforum.blast.hk/showthread.php?tid=271129 - we are not a wizards (well, maybe some hidden ones). Use this utility, check out the output (it comes in several handy formats), then come back to fix particular problems.


Re: Server lag 500+ people - cm666 - 14.02.2015

Where online 400+ GetServerTickRate = ~100 its normal ?


Re: Server lag 500+ people - Sn00Py - 14.02.2015

It's normal.

The problem it's about the quantity of mapping and whatever you have who can make your server / PC lag.


Re: Server lag 500+ people - cm666 - 14.02.2015

Server have ~50000 object