SA-MP Forums Archive
Server lagging when someone logs out - 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 lagging when someone logs out (/showthread.php?tid=368560)



Server lagging when someone logs out - Euan Hughes - 13.08.2012

Why does this happen

When someone logs out the whole server lags

I have deleted alot of accounts which i thought was the problem

When the server saves it takes 3 - 5 minutes it should take 1 - 2 minutes

Please help

Thanks


Re: Server lagging when someone logs out - Private200 - 13.08.2012

Tell me your internet connection .

This problem can be caused by :
1.Slow internet connection
2.Hacked your server / send bots on server doing your ping bigger and bigger
3.GM problem on "
pawn Код:
public OnPlayerDissconect()
[
      return 1;
]
How to fix these problems :
IF , you have slow connection , you should buy a new internet connection (Things it will cause : port forwarding again)
IF , you have been hacked ( to see this , on sa-mp menu , watch the ping , if it get higher and higher then you have been hacked ) you can't stop it , till you restart your server
IF , you have problem with the GM , then i really don't know how to fix this .

Regards
Private200


Re: Server lagging when someone logs out - Mauzen - 13.08.2012

How can it take 3-5 minutes? What are you saving? Normally it should take less than a second.
Best is to show your saving code. Also do you safe to file, or local/remote mysql?