discuz使用Redis数据库内存缓存加速工具后报错MISCONF Redis is configured to save RDB snapshots
discuz使用Redis数据库内存缓存加速工具后报错MISCONF Redis is configured to save RDB snapshotsMISCONF 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.
可以改discuz配置文件,先把Redis关了,可以立即恢复,个人建议使用MemCache
为什么会出现这个问题?
大概率可能是磁盘空间用尽,例如C盘占用了29G的log文件,删除log并且重启服务器后可恢复正常
通过网上搜索的解决办法,未实测下方命令,暂时不知道做什么用的。
临时修复
进入redis命令行执行:config set stop-writes-on-bgsave-error no
永久修改
通过修改redis.conf文件修改:
stop-writes-on-bgsave-error no
建议安装linux服务器!!
页:
[1]