SA-MP Forums Archive
Players keep dropping - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Players keep dropping (/showthread.php?tid=635893)



Players keep dropping - Freedom. - 15.06.2017

Hello,

Players keep dropping. I checked my gamemode found nothing. Recently I upgraded MySQL to R41-2.

VPS OpenVZ (CentOS 7 64-bit)

samp03svr usages:
Memory: %3.3
CPU: %10.0

Here is server.log

Код:
[18:19:32] [warning] client exceeded 'ackslimit' ip:44126 (4338) Limit: 3000/sec
[18:19:36] [warning] client exceeded 'ackslimit' p:55970 (4624) Limit: 3000/sec
[18:19:38] [warning] client exceeded 'ackslimit' p:1048 (5613) Limit: 3000/sec
[18:19:40] [warning] client exceeded 'ackslimit' p:36700 (3331) Limit: 3000/sec
Any ideas? That could be happen for VPS OS? There was no problem when I was using MySQL R39.


Re: Players keep dropping - Sew_Sumi - 15.06.2017

I've had this issue before, but I was always of the opinion that the cause of the ackslimit spam was bad usage of callbacks that fire a lot, such as OnPlayerKeyStateChange, and some other update driven callbacks.


Re: Players keep dropping - Astralis - 15.06.2017

ackslimit 60000 in server.cfg and it should never happen again.


Re: Players keep dropping - Sew_Sumi - 15.06.2017

Quote:
Originally Posted by Astralis
Посмотреть сообщение
ackslimit 60000 in server.cfg and it should never happen again.
That's terrible advice, to not fix it and simply modify settings to make it not turn up...


Re: Players keep dropping - Graber - 20.06.2017

That's a script optimization issue, you CAN raise the ackslimit but it's just a quick messy fix much like #pragma tabsize 0


Re: Players keep dropping - Freedom. - 20.06.2017

Thanks to all, I used crashdetect to find which arrays getting index out of bounds. Fixed them all. There is no more dropping.