解决redis磁盘满了无法持久化错误not able to persist on disk
来源:互联网 发布:淘宝商品被降权怎么办 编辑:程序博客网 时间:2024/06/08 01:21
今天,不少开发同事反馈给我,dev环境启动应用连接redis时,发生如下异常:
2017-06-19 17:10:01,479 ERROR 725476 --- [pool-4-thread-1] [o.s.s.s.TaskUtils$LoggingErrorHandler ] [org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler:95] : [1989115370671066272] Unexpected error occurred in scheduled task.
org.springframework.dao.InvalidDataAccessApiUsageException: 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.; nested exception is 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.
at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:44) ~[spring-data-redis-1.6.4.RELEASE.jar:na]
at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:36) ~[spring-data-redis-1.6.4.RELEASE.
……
Caused by: 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.
at redis.clients.jedis.Protocol.processError(Protocol.java:117) ~[jedis-2.8.0.jar:na]
at redis.clients.jedis.Protocol.process(Protocol.java:151) ~[jedis-2.8.0.jar:na]
at redis.clients.jedis.Protocol.read(Protocol.java:205) ~[jedis-2.8.0.jar:na]
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:297) ~[jedis-2.8.0.jar:na]
at redis.clients.jedis.Connection.getIntegerReply(Connection.java:222) ~[jedis-2.8.0.jar:na]
at redis.clients.jedis.BinaryJedis.del(BinaryJedis.java:201) ~[jedis-2.8.0.jar:na]
at org.springframework.data.redis.connection.jedis.JedisConnection.del(JedisConnection.java:726) ~[spring-data-redis-1.6.4.RELEASE.jar:na]
... 30 common frames omitted
于是找到运维排查机器硬盘内存是否满了,果然,还真是硬盘内存满了,导致持久化保存快照时,发生异常。
解决方法: 增加内存,或者清理磁盘,留出足够硬盘空间,即可解决。
- 解决redis磁盘满了无法持久化错误not able to persist on disk
- 解决 MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Com
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Com
- MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk.
- 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis ”MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- 51Nod-1385-凑数字
- elasticsearch学习一
- java的环境变量配置详解
- Python的包管理工具pip的安装与使用
- Raspberry Pi: SSH连接Raspberry Pi
- 解决redis磁盘满了无法持久化错误not able to persist on disk
- 操作系统概念(高等教育出版社,第七版)复习——第七章:死锁
- 20170619有感
- SpringBoot示例
- 在myeclipse上的java项目中整个项目范围内查找指定的内容
- 如何运行vue项目
- 输入框防止js攻击
- python 怎么安装snownlp包
- Java开发中的23种设计模式详解----代理模式(Proxy)