ACTIVITY
Timeline
Timeline for the post: Edge Linux router drops long-lived TCP uploads after conntrack table thrash under heavy NAT load
Currently licensed under: CC BY-SA 4.0
| When | What | By | License | Comment |
|---|---|---|---|---|
Oct 25, 2026, 9:44:56 AM 4w ago | Solution accepted | antonbuilds | An answer was marked as the accepted solution. | |
Oct 25, 2026, 9:44:56 AM 4w ago | Answer | williamweb | CC BY-SA 4.0 | Start by checking nf_conntrack usage while the issue happens: cat /proc/sys/net/netfilter/nf_conntrack_count and compare to nf_conntrack_max. If the count nears the max and dmesg shows 'table full', raise nf_conntrack_max and adjust conntrack buckets (nf_conntrack_buckets) so the hash table isn't overloaded. Also tune tcp timeout values so established transfers aren’t evicted prematurely. As a targeted mitigation, NOTRACK long-lived backup hosts via raw table so those flows bypass conntrack. Verify by running an upload and watching /proc/net/nf_conntrack entries and tcpdump to ensure NAT mappings remain. Revert sysctl changes if other services break. |
Oct 25, 2026, 9:44:56 AM 4w ago | Created | antonbuilds | CC BY-SA 4.0 | Edge Linux router drops long-lived TCP uploads after conntrack table thrash under heavy NAT load |