增加部分内核优化参数

pull/646/head
gjmzj 2019-07-22 12:24:52 +08:00
parent 4f958b119c
commit faa0106446
1 changed files with 4 additions and 2 deletions

View File

@ -2,8 +2,10 @@ net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-arptables = 1
#
net.ipv4.tcp_tw_recycle=0
# disable ipv6
net.ipv6.conf.all.disable_ipv6=1
net.netfilter.nf_conntrack_max=1000000
vm.swappiness = 0
vm.max_map_count=655360
fs.file-max=655360
fs.file-max=6553600