更新内核参数

This commit is contained in:
CallMeR
2025-01-08 12:09:16 +08:00
parent 0377b500b6
commit 42e0359d03
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -229,6 +229,7 @@ net.ipv4.conf.all.log_martians = 1
net.ipv4.igmp_max_memberships = 256 net.ipv4.igmp_max_memberships = 256
net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_challenge_ack_limit = 1000
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_notsent_lowat = 131072 net.ipv4.tcp_notsent_lowat = 131072
+1
View File
@@ -244,6 +244,7 @@ net.ipv4.route.redirect_load = 2
net.ipv4.route.redirect_silence = 2048 net.ipv4.route.redirect_silence = 2048
net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_challenge_ack_limit = 1000
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_notsent_lowat = 131072 net.ipv4.tcp_notsent_lowat = 131072
+1
View File
@@ -21,6 +21,7 @@ net.ipv4.conf.all.log_martians = 1
net.ipv4.igmp_max_memberships = 256 net.ipv4.igmp_max_memberships = 256
net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_challenge_ack_limit = 1000
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_notsent_lowat = 131072 net.ipv4.tcp_notsent_lowat = 131072
+1
View File
@@ -45,6 +45,7 @@ net.ipv4.route.redirect_load = 2
net.ipv4.route.redirect_silence = 2048 net.ipv4.route.redirect_silence = 2048
net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_challenge_ack_limit = 1000
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_notsent_lowat = 131072 net.ipv4.tcp_notsent_lowat = 131072