An idle timeout is a configured period after which a system closes a connection that has had no activity. It helps free resources such as file descriptors, memory, and connection slots that would otherwise remain tied up by inactive sessions.
In a connection-exhaustion attack, many clients may keep TCP connections open while sending little or no data. Appropriate idle timeouts, alongside per-client limits and service-specific connection caps, can reduce the pressure by clearing inactive sessions. Defenders should tune and test these settings to avoid disrupting legitimate long-lived connections, and monitor connection duration and established-session counts as well as traffic volume.


