Hello!
We’re running the online multiplayer shooter (webplayer clients, stack of authoritative Linux Unet servers), and now players started to report “jittery” behaviour during gameplay.
We use reliable sequenced QoS channel (with index 0) for sending game events and unreliable sequenced QoS channel (with index 4) for syncing vars.
We had similar issues before, they were cured with upping the values of NetworkDropThreshold and OverflowDropThreshold, but it seems that the new factor is introduced now.
We now tend to think that the problem is caused on (our) server side - the packet buffer gets flooded, probably due to poor connection with one or several clients, and then server start spamming the log with “no free events for message” entries so intensively that is causes lags on client side.
Less frequently, we also get loads of following log messages: “Warning: received system packet belongs to wrong session”
What would you suggest to handle this buffer overflow?
Please check below the log examples:
===
…
Log: connection {8} has been disconnected by timeout; address {178.134.72.3:60920}
aissp: time {1098566} lastRecTime {1078263} DisTme {20000}, rtt {93}
(Filename: Line: 1845)
Player [IP: 178.134.72.3 disconnect from 95.213.162.94 GUID: 8 ]
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
no free events for message
(Filename: Line: 358)
Failed to send internal buffer conn:3 channel:4 bytesToSend:1130
Send Error: 4 conn:3 channel:4 bytesToSend:1130
no free events for message
(Filename: Line: 358)