Redis 主从配置的出现的错误

[4400] 27 Nov 18:09:05 # 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.

依照提示修改

/etc/sysctl.conf
然后

sysctl vm.overcommit_memory=1

搞定!!!

转载于:https://www.cnblogs.com/gongchang/archive/2012/11/27/2791268.html

你可能感兴趣的:(Redis 主从配置的出现的错误)