This behavior can happen when the server reaches a network-related limit. One possible cause is connection tracking table exhaustion, especially when the server uses a firewall based on Netfilter.
Other possible causes include excessive TCP connections, application connection limits, or network driver issues.
Start by checking the connection tracking table:
sudo conntrack -S
If the conntrack utility is installed, check the current number of tracked connections:
cat /proc/sys/net/netfilter/nf_conntrack_count
Check the configured maximum:
cat /proc/sys/net/netfilter/nf_conntrack_max
You should also:
Inspect firewall and kernel logs for dropped connections.
Check the number of active TCP connections:
ss -s
Identify which applications are creating unusually large numbers of connections.
Review application connection pooling and timeout settings.
Investigate whether traffic spikes are legitimate or caused by abusive requests.
Increasing connection tracking limits without understanding the cause may increase memory consumption without solving the underlying problem.
If the connection table is genuinely exhausted, review the server's available RAM and firewall configuration before changing its limits.