记录启动Redis警告
WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. 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 中添加/etc/sysctl.conf
执行 sysctl vm.overcommit_memory=1
问题解决,Redis正常启动