Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

Network & Infrastructure / Linux Networking & Host Performance

Conntrack exhaustion and failures unrelated to link bandwidth

New flows fail on a Linux gateway while existing traffic continues. The connection-tracking table can be full even when CPU and interface utilization look acceptable.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Linux network namespaces, host routing and network drivers; availability and semantics depend on kernel and driver versions. Diagnostic/design example; not tested on production equipment.

Collect the evidence

Collect allocation failures, current and maximum tracked entries, state distribution and flow creation rate. Identify traffic retaining entries rather than assuming every entry represents an active useful session.

Explain the result

State capacity is a separate resource from bandwidth. Increasing a table limit consumes memory and may not solve abusive churn or unnecessarily long retention.

Plan the fix

Address the dominant flow pattern and size supported tracking capacity with memory headroom. Review timeout changes against actual application idle behavior and required NAT state.

Check the result and rollback

Exercise peak new-flow load and idle recovery while tracking memory and failed allocations. Restore previous limits if memory pressure grows or valid long-lived sessions begin failing.

Share this article

Back to all articles