Check if the conntrack table is full

Count tracked connections and compare with nf_conntrack_max; -S shows insert_failed and drop when the table is full.

conntrack -L 2>/dev/null | wc -l; conntrack -S

tool
troubleshooting32 commands
tags
troubleshootingnetworkkernelperformance

More troubleshooting commands

  • conntrack -E -p tcp --dport 443 -o timestamp

    Stream NEW and DESTROY events for a port to catch NAT or timeout drops.

  • ss -tan state time-wait | wc -l; sysctl net.ipv4.ip_local_port_range

    Count TIME-WAIT sockets and compare with the local port range; tune tw_reuse, not tw_recycle.

  • ss -s; ss -tan state syn-sent | wc -l

    Show socket totals by state; many SYN-SENT sockets point to dropped SYNs or a firewall.

  • tracepath -n <host>; ping -M do -s 1472 -c2 <host>

    Find the hop where the MTU drops; ping -M do forbids fragmentation, so you can find an MTU black hole.

  • ip route get <ip>; ip neigh show | grep -E 'FAILED|INCOMPLETE'

    Show the real source address and interface for a destination; FAILED or INCOMPLETE neighbor entries mean an L2/ARP problem.

all 32 troubleshooting commands