Why does nf_conntrack_count keep increasing?
Solution 1:
I may have a clue. The timeout field from conntrack -L
has several values that are in the 430,000 second range. This looks suspiciously close to the default value of nf_conntrack_tcp_timeout_established
. I've tuned nf_conntrack_tcp_timeout_established
down to 300, and all new entries in the table have a timeout value less than 300. This seems to suggest that entries stick around in the connection tracking table for as long as tcp_timeout_established is valid.
Will add to this answer as I get more information.