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

搞定!!!

posted @ 2012-11-27 18:17  Linux、Mongo、Php、Shell、Python、C  阅读(101)  评论(0编辑  收藏