I have found that the value of net.netfilter.nf_conntrack_count variable change every time i reboot the system. Did any one have an explanation for that?

  • 1
    Can you explain more details, e.g: How do you set that value? How is the value change? – cuonglm May 8 '14 at 16:14

As one can lookup in Documentation/networking/nf_conntrack-sysctl.txt, this variable is not really a sysctl variable to tweak system behavior, but to read-only variable telling you something about kernel state, in this case:

nf_conntrack_count - INTEGER (read-only)
     Number of currently allocated flow entries.

This number changes over time, since the number of allocated flow entries (connections, the conntrack subsystem is tracking at the moment) changes. You could try it out by establishing a bunch of connections to some server and look how the value changes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.