mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 14:02:53 +08:00
更新系统 sysctl 参数
This commit is contained in:
@@ -202,8 +202,6 @@ net.ipv4.igmp_max_memberships = 256
|
|||||||
net.ipv4.tcp_challenge_ack_limit = 1000
|
net.ipv4.tcp_challenge_ack_limit = 1000
|
||||||
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_mtu_probing = 1
|
|
||||||
net.ipv4.tcp_syncookies = 1
|
|
||||||
|
|
||||||
net.ipv6.conf.all.use_tempaddr = 0
|
net.ipv6.conf.all.use_tempaddr = 0
|
||||||
net.ipv6.conf.default.use_tempaddr = 0
|
net.ipv6.conf.default.use_tempaddr = 0
|
||||||
|
|||||||
+4
-2
@@ -215,11 +215,13 @@ 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_fin_timeout = 30
|
net.ipv4.tcp_fin_timeout = 30
|
||||||
net.ipv4.tcp_keepalive_time = 120
|
net.ipv4.tcp_keepalive_time = 120
|
||||||
net.ipv4.tcp_mtu_probing = 1
|
net.ipv4.tcp_notsent_lowat = 131072
|
||||||
net.ipv4.tcp_syncookies = 1
|
net.ipv4.tcp_rmem = 8192 262144 536870912
|
||||||
|
net.ipv4.tcp_wmem = 4096 16384 536870912
|
||||||
|
|
||||||
net.ipv6.conf.all.accept_ra = 0
|
net.ipv6.conf.all.accept_ra = 0
|
||||||
net.ipv6.conf.default.accept_ra = 0
|
net.ipv6.conf.default.accept_ra = 0
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ net.ipv4.igmp_max_memberships = 256
|
|||||||
net.ipv4.tcp_challenge_ack_limit = 1000
|
net.ipv4.tcp_challenge_ack_limit = 1000
|
||||||
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_mtu_probing = 1
|
|
||||||
net.ipv4.tcp_syncookies = 1
|
|
||||||
|
|
||||||
net.ipv6.conf.all.use_tempaddr = 0
|
net.ipv6.conf.all.use_tempaddr = 0
|
||||||
net.ipv6.conf.default.use_tempaddr = 0
|
net.ipv6.conf.default.use_tempaddr = 0
|
||||||
|
|||||||
@@ -41,11 +41,13 @@ 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_fin_timeout = 30
|
net.ipv4.tcp_fin_timeout = 30
|
||||||
net.ipv4.tcp_keepalive_time = 120
|
net.ipv4.tcp_keepalive_time = 120
|
||||||
net.ipv4.tcp_mtu_probing = 1
|
net.ipv4.tcp_notsent_lowat = 131072
|
||||||
net.ipv4.tcp_syncookies = 1
|
net.ipv4.tcp_rmem = 8192 262144 536870912
|
||||||
|
net.ipv4.tcp_wmem = 4096 16384 536870912
|
||||||
|
|
||||||
net.ipv6.conf.all.accept_ra = 0
|
net.ipv6.conf.all.accept_ra = 0
|
||||||
net.ipv6.conf.default.accept_ra = 0
|
net.ipv6.conf.default.accept_ra = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user