## 问题:redis启动报错: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. [1545] 08 Aug 18:48:04.510 * The server is now ready to accept connections on port 6379
解决方法:
echo 511 > /proc/sys/net/core/somaxconn
echo 1 > /proc/sys/vm/overcommit_memory