Archived
更新 TS 服务器 sysctl 参数
This commit is contained in:
+3
-2
@@ -242,14 +242,15 @@ net.ipv4.route.error_cost = 100
|
|||||||
net.ipv4.route.redirect_load = 2
|
net.ipv4.route.redirect_load = 2
|
||||||
net.ipv4.route.redirect_silence = 2048
|
net.ipv4.route.redirect_silence = 2048
|
||||||
|
|
||||||
|
net.ipv4.tcp_adv_win_scale = -2
|
||||||
net.ipv4.tcp_challenge_ack_limit = 1000
|
net.ipv4.tcp_challenge_ack_limit = 1000
|
||||||
net.ipv4.tcp_fastopen = 3
|
net.ipv4.tcp_fastopen = 3
|
||||||
net.ipv4.tcp_fin_timeout = 30
|
net.ipv4.tcp_fin_timeout = 30
|
||||||
net.ipv4.tcp_keepalive_time = 120
|
net.ipv4.tcp_keepalive_time = 120
|
||||||
net.ipv4.tcp_max_syn_backlog = 512
|
net.ipv4.tcp_max_syn_backlog = 512
|
||||||
net.ipv4.tcp_notsent_lowat = 131072
|
net.ipv4.tcp_notsent_lowat = 131072
|
||||||
net.ipv4.tcp_rmem = 4096 87380 26214400
|
net.ipv4.tcp_rmem = 8192 262144 536870912
|
||||||
net.ipv4.tcp_wmem = 4096 16384 655360
|
net.ipv4.tcp_wmem = 4096 16384 536870912
|
||||||
|
|
||||||
net.ipv6.conf.all.accept_redirects = 0
|
net.ipv6.conf.all.accept_redirects = 0
|
||||||
net.ipv6.conf.default.accept_redirects = 0
|
net.ipv6.conf.default.accept_redirects = 0
|
||||||
|
|||||||
@@ -45,14 +45,15 @@ net.ipv4.route.error_cost = 100
|
|||||||
net.ipv4.route.redirect_load = 2
|
net.ipv4.route.redirect_load = 2
|
||||||
net.ipv4.route.redirect_silence = 2048
|
net.ipv4.route.redirect_silence = 2048
|
||||||
|
|
||||||
|
net.ipv4.tcp_adv_win_scale = -2
|
||||||
net.ipv4.tcp_challenge_ack_limit = 1000
|
net.ipv4.tcp_challenge_ack_limit = 1000
|
||||||
net.ipv4.tcp_fastopen = 3
|
net.ipv4.tcp_fastopen = 3
|
||||||
net.ipv4.tcp_fin_timeout = 30
|
net.ipv4.tcp_fin_timeout = 30
|
||||||
net.ipv4.tcp_keepalive_time = 120
|
net.ipv4.tcp_keepalive_time = 120
|
||||||
net.ipv4.tcp_max_syn_backlog = 512
|
net.ipv4.tcp_max_syn_backlog = 512
|
||||||
net.ipv4.tcp_notsent_lowat = 131072
|
net.ipv4.tcp_notsent_lowat = 131072
|
||||||
net.ipv4.tcp_rmem = 4096 87380 26214400
|
net.ipv4.tcp_rmem = 8192 262144 536870912
|
||||||
net.ipv4.tcp_wmem = 4096 16384 655360
|
net.ipv4.tcp_wmem = 4096 16384 536870912
|
||||||
|
|
||||||
net.ipv6.conf.all.accept_redirects = 0
|
net.ipv6.conf.all.accept_redirects = 0
|
||||||
net.ipv6.conf.default.accept_redirects = 0
|
net.ipv6.conf.default.accept_redirects = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user