Configuring operating system TCP/IP keepalive parameters for high availability clients
About this task
For client systems that do support the keepAliveTimeout parameter adjusting operating system parameters can also allow for early detection of a non-responsive socket and for faster client reroute.
The values provided in these commands are suggested values, but you should fine-tune these settings based on your specific network and server capabilities.Note: By altering these settings at an
operating system level, this will affect all TCP/IP communications on the client.
Procedure
Configuring operating system TCP/IP parameters for clients
that support the keepAliveTimeout parameter
If the client is waiting on a receive response from the server,
the keepAliveTimeout parameter is enabled when
the maximum number of retransmissions have finished. To specify the
maximum number of retransmissions you can modify the following operating
system parameters:
- On Linux: The tcp_retries2 parameter
- On Windows: The TcpMaxDataRetransmissions parameter