Keepalive

nounStandard termTelecom & IT

A small, periodic data packet sent between devices to verify that a network connection remains active.

A keepalive message prevents network infrastructure like firewalls and load balancers from dropping an idle connection. If a device stops receiving these periodic signals from its peer, it assumes the link has failed and tears down the session. This mechanism is essential for maintaining long-running TCP connections and monitoring the health of routing protocols.

Heard on the job

The firewall keeps dropping the database connection after five minutes, so we need to enable TCP keepalives on the server.

Also heard as

  • keep-alive
  • heartbeat