XH-N01: The server dropped incoming packets
The system threw away packets sent to the server's game port before the server could read them; the line says how many and the size of the server's network queue (xhlds_net_rcvbuf, 1024 KiB by default).
- xHLDS version
- 3.15.0-hs.15
- Updated
On the console:
[XH-N01] The server dropped 2300 incoming packets in 10 s (network queue 1024 KiB)Printed: when the system dropped packets for the server's game port (Linux), at most every 10 s; not for packets dropped while a map loads.
The system threw away packets sent to the server's game port before the server could read them; the line says how many and the size of the server's network queue (xhlds_, 1024 KiB by default). Not printed for packets dropped while a map loads. The usual causes:
- The queue was full. Packets wait in it until the server reads them, once per frame; it fills when the server stops reading for a while (a frame that took long: a plugin, a slow disk, the host pausing the server) or when more packets come in than the server can read (a flood).
- The machine's memory for network packets (all servers together, the node's UDP limit) ran out.
- Packets with a bad checksum, or refused by a filter on the socket.
Is it a problem? Once in a while after a hitch, no: players' games send their moves again and lost messages are sent again, and the server goes on with fresh packets instead of old ones. Often, or many thousands at a time, yes: players lag or time out.
What to do:
xhlds_stats: long frames (Frame ms max, late frames) at the same time point at the server or a plugin;xhlds_says where the time went.stats profile - Short frames but many packets read in one frame (
xhlds_stats, "Incoming packets") point at a flood: ask your host to look at the traffic to the server's port. - Short frames, few packets and a queue far from full point at the machine: ask your host.
xhlds_raises the queue size; a bigger queue drops less after a hitch, but the server then spends longer on old packets when it catches up.net_ rcvbuf
On the server
xhlds_ prints this explanation on the server console, also over rcon.
Licences, prices and what xHLDS adds: xHLDS licence and prices.
Something wrong or unclear on this page? Email office@hostsrc.com or tell us on Discord (external site, opens in a new tab).