fuel-library/deployment/puppet/osnailyfacter/manifests/netconfig
Alexey Lebedeff 5d4d53082d Increase tcp_retries2 value
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
2017-02-03 19:37:04 +03:00
..
configure_default_route.pp Separate OVS kernel module name for Ubuntu 14.xx and ubuntu 16.xx 2016-06-17 11:35:08 +03:00
connectivity_tests.pp Move gateway ping to connectivity tests 2016-09-01 13:51:18 -05:00
hiera_default_route.pp Setup more strict permissions for sensible data 2016-07-22 11:58:40 +03:00
netconfig.pp Increase tcp_retries2 value 2017-02-03 19:37:04 +03:00
remove_ovs_usage.pp Base code for remove OVS usage ability 2016-09-15 19:06:06 +00:00
reserved_ports.pp Add qemu migration ports to local reserved ports 2016-10-04 21:32:14 +00:00