MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.

Posted hoho_12

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.相关的知识,希望对你有一定的参考价值。

问题:tomcat服务中报了如下的错误:

redis.clients.jedis.exceptions.JedisDataException: 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.

分析: 项目中用到了redis,启动tomcat时报了redis的错,那就是redis出了问题。仔细排查发现redis安装在c盘,此时c盘已经红了,占满了。再读一下这个错误,可以发现是reids数据无法缓存到磁盘。

解决方案:删除c盘中占用的一个20多g的大文件之后,重新启动tomcat,解决问题。

c盘中还安装了navicat,navicat里面的一个日志文件竟然占用了20多个g,删除此日志文件。

 

创作挑战赛 新人创作奖励来咯,坚持创作打卡瓜分现金大奖

以上是关于MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.的主要内容,如果未能解决你的问题,请参考以下文章

redisredis异常-MISCONF Redis is configured to save RDB snapshots

打开网站提示:MISCONF Redis is configured to save RDB

(error) MISCONF Redis is configured to save RDB snapshots, but is currently

连接Redis后执行命令错误 MISCONF Redis is configured to save RDB snapshots

解决 MISCONF Redis is configured to save RDB snapshots 异常详解

解决 MISCONF Redis is configured to save RDB snapshots 异常详解