1、报错内容

WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.

2、解决

sudo vim /etc/sysctl.conf

net.ipv4.conf.default.accept_source_route = 1
vm.overcommit_memory = 1
net.core.somaxconn = 1024

sudo sysctl -p

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-06-17
  • 2021-08-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-07-29
  • 2022-12-23
  • 2021-12-04
  • 2021-05-17
  • 2021-10-25
  • 2021-08-04
  • 2022-12-23
相关资源
相似解决方案