Modify the kernel parameter to adjust the timeout for nf_conntrack.
This commit is contained in:
parent
b3cdf96640
commit
47c2f7784a
|
@ -0,0 +1 @@
|
||||||
|
net.netfilter.nf_conntrack_tcp_timeout_time_wait=60
|
|
@ -2,7 +2,8 @@ STORAGE = '/etc/sysctl.d'
|
||||||
|
|
||||||
[
|
[
|
||||||
"#{STORAGE}/90-vm-swappiness.conf",
|
"#{STORAGE}/90-vm-swappiness.conf",
|
||||||
"#{STORAGE}/90-vfs-cache-pressure.conf"
|
"#{STORAGE}/90-vfs-cache-pressure.conf",
|
||||||
|
"#{STORAGE}/90-conntrack-tcp-timeout-time-wait.conf"
|
||||||
].each do |conf|
|
].each do |conf|
|
||||||
remote_file conf do
|
remote_file conf do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
|
|
Loading…
Reference in New Issue