Toggle navigation
Type: integer
Default: 0
Min: 0
Max: 2147483647
Unit: seconds (s)
Context: user
Restart: false

Specifies the amount of time after which a TCP keepalive message that has not been acknowledged by the client should be retransmitted. If this value is specified without units, it is taken as seconds. A value of 0 (the default) selects the operating system's default. This parameter is supported only on systems that support TCP_KEEPINTVL or an equivalent socket option, and on Windows; on other systems, it must be zero. In sessions connected via a Unix-domain socket, this parameter is ignored and always reads as zero.

On Windows, setting a value of 0 will set this parameter to 1 second, since Windows does not provide a way to read the system default value.