Skip to content
Troubleshooting · SEV-2 · Senior · 14 min

New connections dropped when the conntrack table fills

At the busiest time of day, new outgoing connections through a shared gateway start failing while existing ones carry on. Find out what has run out.

The page

egress-nat · eu-west-16% of new outbound connections time out · established connections unaffected · paged 18:06Error budget burn 8.9× · 52% of monthly budget left

Your brief

nat-gw-2 translates all outbound traffic from the private subnet 10.60.0.0/16. Since 18:00 a few percent of new connections through it time out, while connections that were already open carry on. CPU, memory and the network links look normal. Find out what the gateway has run out of, relieve it safely, and find the traffic responsible.

First signal

$ ping -c 3 198.51.100.10
PING 198.51.100.10 (198.51.100.10) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
64 bytes from 198.51.100.10: icmp_seq=2 ttl=57 time=4.21 ms
64 bytes from 198.51.100.10: icmp_seq=3 ttl=57 time=4.08 ms

--- 198.51.100.10 ping statistics ---
3 packets transmitted, 2 received, 33.3333% packet loss, time 2012ms
rtt min/avg/max/mdev = 4.080/4.145/4.210/0.065 ms
Open to everyone until Pro goes on sale · sign in to save your attemptRun the incident in the terminal
Open in the app