# 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にvm.overcommit_memory = 1っていう設定を追加してね」 ということはわかるのですが、このパラメーターが何を意味するのか調べてみ
![Redis起動時のvm.overcommit_memory警告対応](https://cdn-ak-scissors.b.st-hatena.com/image/square/0a742a30435fe62cfbd1bf1374615e02a2f9e3be/height=288;version=1;width=512/https%3A%2F%2Fstatic.fc2.com%2Fimage%2Fnoimage.gif)