SA-MP Forums Archive
My server started to lag - 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: My server started to lag (/showthread.php?tid=190817)



My server started to lag - Mystique - 16.11.2010

So, my server has started to lag and I think it's because there are just too many processes in the server going on. Does anyone have any good ideas except making less timers by combining them?


Re: My server started to lag - Blt950 - 16.11.2010

If you try to run a different gamemode, and the server still laggs, then it's something with your PC/Server.
If not, it's something in your script indeed.

Hard to say what laggs in your script. If you've made as less timers as possible, and so on. I think it shouldn't lagg that much.


Re: My server started to lag - JaTochNietDan - 16.11.2010

Really you'd want to be seriously over-using timers for timers to be a problem. I'd suspect something more along the lines of how you're either writing/getting information from either files or an SQL database, or else serious over-use of loops, or loops that are way too big.