# XH-N01: The server dropped incoming packets (/docs/xhlds/codes/xh-n01)

On the console:

```text
[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_net_rcvbuf`](/docs/xhlds/settings#xhlds_net_rcvbuf), 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`](/docs/xhlds/commands#xhlds_stats): long frames (Frame ms max, late frames) at the same time point at the server or a plugin; [`xhlds_stats profile`](/docs/xhlds/commands#xhlds_stats) says where the time went.
- Short frames but many packets read in one frame ([`xhlds_stats`](/docs/xhlds/commands#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_net_rcvbuf`](/docs/xhlds/settings#xhlds_net_rcvbuf) 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.

## On the server [#on-the-server]

[`xhlds_explain XH-N01`](/docs/xhlds/commands#xhlds_explain) prints this explanation on the server console, also over rcon.
