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

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

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.

What to check first

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.

What the results mean

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 know how to undo the change

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