Lagged - 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: Lagged (
/showthread.php?tid=642204)
Lagged -
skiplovebra - 26.09.2017
My server is sometimes delayed, I have F5 and see the ackslimit index stand still does not work that jump up very high, can someone help me how to overcome the way to know the code cause this way ?
Re: Lagged -
Misiur - 26.09.2017
Do you use dini or unthreaded mysql queries?
Re: Lagged -
jlalt - 26.09.2017
You can use samp performance profiler plugin to see which function(s) getting so long to execute...
Re: Lagged -
skiplovebra - 26.09.2017
Quote:
Originally Posted by jlalt
You can use samp performance profiler plugin to see which function(s) getting so long to execute...
|
I used gamemode I'm GTA-RP.PWN, I filled in like this in server.cfg is it true? Profiler_gamemodes <gm_GTA-RP1>
Re: Lagged -
skiplovebra - 26.09.2017
Quote:
Originally Posted by Misiur
Do you use dini or unthreaded mysql queries?
|
If it can cause lag?
Re: Lagged -
Misiur - 26.09.2017
Yup, rembmer that Input/Output operations are the most expensive thing your script can do. dini is inefficient (opening and closing file for every read/write), and unthreaded queries hang the script until result is fetched.