#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/sysyctl.conf and then reboot or run the command 'vm.overcommit_memory=1' for this to take effect.
#修复报错信息
[root@localhost ~]
# echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf
[root@localhost ~]
# sysctl vm.overcommit_memory=1
vm.overcommit_memory = 1