Posted onEdited onInLinuxViews: Disqus: Symbols count in article: 691Reading time ≈1 mins.
Intro Linux overcommit_memory For Redis
這篇介紹Linux overcommit_memory For Redis。
前情提要
1 2 3 4 5
在Redis Server啟動時會出現
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.