fix tcp_tw_recycle settings issue #714

pull/741/head
gjmzj 2019-10-27 15:42:02 +00:00
parent 8ae76e6dcf
commit afbba63337
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-arptables = 1
{% if ansible_distribution in ["CentOS","RedHat","Amazon"] %}
{% if KERNEL_VER|float < 4.12 %}
net.ipv4.tcp_tw_recycle = 0
{% endif %}
net.ipv4.tcp_tw_reuse = 0