vim /etc/rc.local
echo never > /sys/kernel/mm/transparent_hugepage/enabled
加入上面那句到/etc/rc.local,开机启动,并且直接执行上面那句或者sudo /etc/rc.local,直接生效
vim /etc/sysctl.conf
vm.overcommit_memory = 1
net.core.somaxconn = 1024
sysctl -p生效

相关文章:

  • 2021-08-20
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-07-09
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2022-01-09
  • 2021-11-22
  • 2021-12-18
相关资源
相似解决方案