更新 'etc/sysctl.conf'
This commit is contained in:
@ -1,4 +1,8 @@
|
|||||||
|
kernel.sysrq = 1
|
||||||
|
kernel.printk = 5
|
||||||
vm.swappiness = 10
|
vm.swappiness = 10
|
||||||
|
vm.overcommit_memory=1
|
||||||
|
|
||||||
fs.file-max = 51200
|
fs.file-max = 51200
|
||||||
net.core.rmem_max = 67108864
|
net.core.rmem_max = 67108864
|
||||||
net.core.wmem_max = 67108864
|
net.core.wmem_max = 67108864
|
||||||
@ -21,4 +25,8 @@ net.ipv4.tcp_mtu_probing = 1
|
|||||||
net.ipv4.tcp_ecn = 1
|
net.ipv4.tcp_ecn = 1
|
||||||
net.ipv4.tcp_ecn_fallback = 1
|
net.ipv4.tcp_ecn_fallback = 1
|
||||||
net.core.default_qdisc = fq
|
net.core.default_qdisc = fq
|
||||||
net.ipv4.tcp_congestion_control = bbr
|
net.ipv4.tcp_congestion_control = bbr
|
||||||
|
net.ipv4.ip_forward = 1
|
||||||
|
|
||||||
|
net.ipv6.conf.default.autoconf = 0
|
||||||
|
net.ipv6.conf.all.autoconf = 0
|
Reference in New Issue
Block a user