High-quality dry goods [Kernel tuning] HUAWEI CLOUD example

Huawei Cloud tuning configuration:
vim /etc/sysctl.conf
add:
vm.swappiness=0
net.core.somaxconn=1024
net.ipv4.tcp_max_tw_buckets=5000
net.ipv4.tcp_max_syn_backlog=1024

vim /etc/security/limits.conf
soft :
root soft nofile 65535
root hard nofile 65535

  • soft nofile 65535
  • hard nofile 65535

Guess you like

Origin blog.csdn.net/qq_30566629/article/details/109738018