krb1002 regularly gets huge spikes in connection numbers which approaches or even hits the limit of the conntracks enabled by default in the kernel:
Once the level hits 80% of the configured limit we get alerts:
FIRING: MaxConntrack: Max conntrack at 82.93% on krb1002:9100 - https://wikitech.wikimedia.org/wiki/Monitoring/check_conntrack - https://grafana.wikimedia.org/d/oITUqwKIk/netfilter-connection-tracking - https://alerts.wikimedia.org/?q=alertname%3DMaxConntrack
RESOLVED: MaxConntrack: Max conntrack at 84.74% on krb1002:9100 - https://wikitech.wikimedia.org/wiki/Monitoring/check_conntrack - https://grafana.wikimedia.org/d/oITUqwKIk/netfilter-connection-tracking - https://alerts.wikimedia.org/?q=alertname%3DMaxConntrack
I'm not quite sure what is causing this, is it expected? Is the conntrack limit protecting the system somehow? Or is it reasonable to increase the limit to support what we need / supress the alert spam? Currently set to 256k
cmooney@krb1002:~$ sudo sysctl net.nf_conntrack_max net.nf_conntrack_max = 262144
