Commit ea17afae by ChongmingDu

tuning arg

parent 5e75632c
...@@ -44,9 +44,10 @@ fs.file-max = 65535 ...@@ -44,9 +44,10 @@ fs.file-max = 65535
net.ipv4.tcp_retries2 = 3 net.ipv4.tcp_retries2 = 3
net.ipv4.route.gc_timeout = 100 net.ipv4.route.gc_timeout = 100
vm.swappiness = 0 vm.swappiness = 0
vm.overcommit_memory = 1
EOF EOF
sysctl -p &>/dev/null sysctl -p &>/dev/null
echo 1024 >/proc/sys/net/core/somaxconn
#Install docker-ce #Install docker-ce
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment