优质干货【内核调优】华为云 例

华为云调优配置:
vim /etc/sysctl.conf
加入:
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
加入:
root soft nofile 65535
root hard nofile 65535

  • soft nofile 65535
  • hard nofile 65535

猜你喜欢

转载自blog.csdn.net/qq_30566629/article/details/109738018
今日推荐