Load Balancer Gotchas

A collection of load balancer surprises I’ve encountered. I’ll add new entries over time.


NLB idle timeout silently drops connections #

When the NLB idle timeout expires, it doesn’t send FIN or RST. It just removes the connection from its flow table. Both client and server will think the connection is alive. The next packet from either side gets a RST from the NLB.

  • Set client and server keepalive intervals below the NLB’s idle timeout (350s by default, now configurable).
  • Or tune the NLB idle timeout to match your application’s needs.