Setting TCP Keep-Alive Parameters

Set the following OS level parameters to make the TCP Keep-Alive work.

Operating System

Parameter Wait Time before Connection Probe

Parameter Interval between Retry Probes

Parameter for Maximum Retry Probes

Unit of Measure

AIX

tcp_keepidle

tcp_keepintvl

tcp_keepcnt

half-second

HP-UX 11i

tcp_time_wait_interval

tcp_keepalive_interval

tcp_keepalives_kill (1)

Milliseconds

Linux

tcp_keepalive_time

tcp_keepalive_intvl

tcp_keepalive_probes

Seconds

Solaris

tcp_time_wait_interval

tcp_keepalive_interval

NA

Milliseconds

Windows

KeepAliveTime

KeepAlive Interval

TcpMaxDataRetransmission

Milliseconds