diff --git a/lemp.sh b/lemp.sh index 12374f4..0c4fc78 100755 --- a/lemp.sh +++ b/lemp.sh @@ -54,7 +54,7 @@ sed -i 's/net.ipv4.tcp_syncookies.*$/net.ipv4.tcp_syncookies = 1/g' /etc/sysctl. fs.file-max=65535 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_tw_reuse = 1 -net.ipv4.tcp_tw_recycle = 1 +net.ipv4.tcp_tw_recycle = 0 net.ipv4.ip_local_port_range = 1024 65000 net.ipv4.tcp_max_syn_backlog = 65536 net.ipv4.tcp_max_tw_buckets = 20000