Your conntrack table is full: "nf_conntrack: table full, dropping packet". What do you do?
IntermediateScenarioPerformance, MTU, Latency & Tools
Answer
Situation read → The kernel tracks every flow and drops new ones at the limit.
What I'd do →
- Check usage:
sysctl net.netfilter.nf_conntrack_count net.netfilter.nf_conntrack_max - Raise:
sysctl -w net.netfilter.nf_conntrack_max=1048576and the hash size - Lower timeouts for idle states like
nf_conntrack_tcp_timeout_time_wait - Reduce flows with keep-alive and pooling
- Exempt high-volume traffic from tracking with
iptables -t raw -j NOTRACK
Why → Each tracked flow uses memory, and a busy NAT or Kubernetes node hits the cap sooner than expected.
Interview tip → Say you alert on conntrack usage above 80 percent.
More on Performance, MTU, Latency & Tools
Latency, bandwidth and throughput: what is the difference and why does it matter?BeginnerWhen do you use ping, traceroute and mtr?BeginnerWhat is MTU and what is the usual value?BeginnerHow do you check what is listening on a port and who is connected?BeginnerHow do you measure where time goes in a slow HTTP request?BeginnerWhat does tcpdump do and what are the first filters you use?Beginner