_keepalive_interval Parameter
- Description
-
This
ipadmparameter sets a probe interval that is first sent out after a TCP connection is idle on a system-wide basis.Oracle Solaris supports the TCP keep-alive mechanism as described in RFC 1122. This mechanism is enabled by setting the
SO_KEEPALIVEsocket option on a TCP socket.If
SO_KEEPALIVEis enabled for a socket, the first keep-alive probe is sent out after a TCP connection is idle for two hours, the default value of thetcp_keepalive_intervalparameter. If the peer does not respond to the probe after eight minutes, the TCP connection is aborted. For more information, refer to _rexmit_interval_initial Parameter.You can also use the
TCP_KEEPALIVE_THRESHOLDsocket option on individual applications to override the default interval so that each application can have its own interval on each socket. The option value is an unsigned integer in milliseconds. Also see thetcp(4P) man page. - Default
-
2 hours
- Range
-
10 seconds to 10 days
- Units
-
Unsigned integer (milliseconds)
- Dynamic?
-
Yes
- When to Change
-
Do not change the value. Lowering it may cause unnecessary network traffic and might also increase the chance of premature termination of the connection because of a transient network problem.
- Commitment Level
-
Unstable