redis错误
stop-writes-on-bgsave-error
(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
网上很多时候将stop-writes-on-bgsave-error改为NO,如果没用,就用下边方法:
先/etc/sysctl.conf文件中添加vm.overcommit_memory=1
然后执行sudo sysctl -p /etc/sysctl.conf