开启 Redis 就出现这个错误 Redis 正常运行 配置项没问题 磁盘空间足 哪位遇到过?

ERR Error running script (call to f_a08c9c69b7c07ae2485190873b90d128a23e502d): @user_script:1: @user_script: 1: -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.

阅读 6.7k
1 个回答

原因

强制关闭Redis快照导致不能持久化

解决方法

127.0.0.1:6379>config set stop-writes-on-bgsave-error no
127.0.0.1:6379>CONFIG REWRITE
or
修改配置文件
stop-writes-on-bgsave-error 设置为no
推荐问题