How much memory is required to keep track of single entry in conntrack table ?

Solution Verified - Updated -

Issue

  • Following message is seen in logs kernel: nf_conntrack: table full, dropping packet . Refer kbase-48033 for more information on these messages.
  • Increasing the value of sysctl parameter net.netfilter.nf_conntrack_max can help to keep track of more number of connections, but as increasing this value comes with the overhead of more memory consumption, so before increasing the value of that parameter need to find out how much memory/RAM gets consumes when the default max value of that parameter (65536) is reached ?
  • How much memory is required to keep track of each entry in conntrack table ?
  • Based on this information and considering the availability of physical RAM on the system, appropriate new value for the parameter can be decided.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.