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



Server lag - Gilbonzo - 17.02.2014

Hello guys I am not sure if anyone of you had the same problem, but my server is lagging whenever there is +2 players on the server, but when I am alone in the server everything is so smooth, but when my friends join the server everything start lagging and big delay for example when you are trying to type something in chat it comes after 5 seconds.

Any help would be appreciated.


Re: Server lag - Facerafter - 17.02.2014

The most likely cause will be that your server doesn't have enough RAM.


Re: Server lag - Gilbonzo - 17.02.2014

I have 8 gigabytes of ram isnt that enough for 5 players?


Re: Server lag - Facerafter - 17.02.2014

It is, but I assume you are hosting it on your own PC?
If so, Windows and many other applications also take up RAM.
Or the CPU of your computer can't handle everything.


Re: Server lag - Gilbonzo - 17.02.2014

I am 100 percent sure that it has nothing to do with my hardware.


Re : Server lag - mirou123 - 17.02.2014

Try not to use huge strings and remove unneeded timers.And make sure you don't run many timers at the same time.


Re: Server lag - Gilbonzo - 17.02.2014

Hmm, I actually have pretty much timers though and have huge strings. I'll try to tweak them and test it.