2238c94efc
Current value of 5 results in socket operation timeout after ~12.9
seconds. This is a bit too low, e.g. we've seen RabbitMQ network
splits in production.
This 12.9s amount is equal as 0.2*(2^1+2^2+..2^5), where 0.2 is a
retry timeout (RTO) that is calculated by kernel on a per-socket
basis. But in fast local networks it usually almost equal to minimum
values of 0.2s hardcoded in linux kernel (and BTW, RFC says that
minimum value should be 1s).
On the other hand, comment in netconfig.pp says that our target
timeout is ~54 seconds. And changing tcp_retries2 to 7 is consistent
with that comment - tests an live env show that resulting timeout is
~52.2s
Change-Id: Ib52f40ef1017a9da5a29cd62fb744a4597860763
(cherry picked from commit
|
||
---|---|---|
.. | ||
configure_default_route.pp | ||
connectivity_tests.pp | ||
hiera_default_route.pp | ||
netconfig.pp | ||
remove_ovs_usage.pp | ||
reserved_ports.pp |