MISCONF Redis is configured to save RDB snapshots
侧边栏壁纸
  • 累计撰写 187 篇文章
  • 累计收到 24 条评论

MISCONF Redis is configured to save RDB snapshots

五好
2017-04-25 / 0 评论 / 1,130 阅读 / 正在检测是否收录...

今天正查看redis中,突然发现keys急剧下降到只有几个,刷新都保持在几个是数量级,然后mysql的负载愈来愈大,立即感到应该是redis出问题了, 然后刷新下redis
进入 redis 客户端

redis-cli
>flashall  或者 flashdb

报了这个错

127.0.0.1:6379> FLUSHALL
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.

马上搜索了相关内容
得到的解决方案是

config set stop-writes-on-bgsave-error no

忽略这个不能写入快照的错误,但是具体产生这个错误的原因是什么呢?
暂时未知!

0

评论 (0)

取消