Diagnostic step 1
Monitor /proc/sys/net/netfilter/nf_conntrack_count and nf_conntrack_max closely alongside connection churn metrics (Connections/s, new flows) to correlate peaks to stalls. These are read-only sysfs metrics and safe to read.
Generated Oct 17, 2026, 9:26:12 AM
Monitor /proc/sys/net/netfilter/nf_conntrack_count and nf_conntrack_max closely alongside connection churn metrics (Connections/s, new flows) to correlate peaks to stalls. These are read-only sysfs metrics and safe to read.
Dump conntrack entries (conntrack -L) at times of failure and inspect for many UNREPLIED or TIME_WAIT entries; export a sample (redact IPs if sending to vendors) and look for patterns tied to specific services or source ranges.
Temporarily adjust nf_conntrack_max upward on a single node and observe if stalls disappear; this is reversible (sysctl -w). If that helps, consider a controlled cluster-wide increase with capacity planning and memory checks (conntrack uses kernel memory).
Tune nf_conntrack_tcp_timeout_established and shorter TCP timeouts for your workload to reduce resident entries for truly idle, long-lived connections; test on a non-production node first because this changes connection lifetime behavior.
As a diagnostic, put a single node in iptables mode (kube-proxy mode swap) and run load tests to confirm IPVS-specific behavior. This requires kube-proxy restart for that node but can be done one node at a time to avoid cluster-wide disruption. If iptables avoids the issue, gather kernel versions and module versions for escalation to kernel maintainers or distro support with evidence (conntrack dumps, ipvsadm output). Escalate to your OS vendor or kernel support when conntrack entries persist despite reasonable timeout tuning and NF_CONNTRACK increases; provide sanitized conntrack dumps and dmesg logs. Avoid sharing any sensitive client IPs or payloads when opening support tickets — anonymize or hash identifiers.