|
@@ -25,7 +25,7 @@ maximum number of TCP retransmissions.
|
|
|
|
|
|
You can decrease the maximum number of TCP retransmissions to `5` by running
|
|
|
the following command as `root`. Five retransmissions corresponds with a
|
|
|
-timeout of around 6 seconds.
|
|
|
+timeout of around six seconds.
|
|
|
|
|
|
[source,sh]
|
|
|
-------------------------------------
|
|
@@ -33,8 +33,8 @@ sysctl -w net.ipv4.tcp_retries2=5
|
|
|
-------------------------------------
|
|
|
|
|
|
To set this value permanently, update the `net.ipv4.tcp_retries2` setting in
|
|
|
-`/etc/sysctl.conf`. To verify after rebooting, run `sysctl
|
|
|
-net.ipv4.tcp_retries2`.
|
|
|
+`/etc/sysctl.conf`. To verify after rebooting, run
|
|
|
+`sysctl net.ipv4.tcp_retries2`.
|
|
|
|
|
|
{es} also implements its own health checks with timeouts that are much shorter
|
|
|
than the default retransmission timeout on Linux. However these health checks
|