redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
来源:互联网 发布:网络安全教育听后感 编辑:程序博客网 时间:2024/06/05 17:57
项目中用到redis做缓存服务器,近日出现这个异常:
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.clients.jedis.Protocol.processError(Protocol.java:113)redis.clients.jedis.Protocol.process(Protocol.java:138)redis.clients.jedis.Protocol.read(Protocol.java:192)redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:282)redis.clients.jedis.Connection.getIntegerReply(Connection.java:207)redis.clients.jedis.BinaryJedis.setnx(BinaryJedis.java:435)com.radiadesign.catalina.session.RedisSessionManager.createSession(RedisSessionManager.java:274)org.apache.catalina.connector.Request.doGetSession(Request.java:3014)org.apache.catalina.connector.Request.getSession(Request.java:2378)org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:897)org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:909)javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:238)javax.servlet.http.HttpServlet.service(HttpServlet.java:620)javax.servlet.http.HttpServlet.service(HttpServlet.java:727)org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
网上搜索,很多人都给出了解决方法,但没有详细说明问题的来龙去脉,暂且记下,待有空了研究。
解决方法:通过redis-cli连接到服务器后执行以下命令:
config set stop-writes-on-bgsave-error no
如此即可。
原文:http://blog.csdn.net/rchm8519/article/details/48369531
阅读全文
0 0
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- redis出现异常MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on
- redis异常: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on
- 解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on d
- 解决 MISCONF Redis is configured to save RDB snapshots, but 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 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
- 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 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
- Redis "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on di
- 并查集
- CODE[VS]1031 质数环
- Git版本控制命令学习
- leetcode_143.Recoder List ? 待解决
- window、linux 下彻底关闭tomcat进程
- redis异常解决:MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist
- 阿姆达尔定律
- 关于Eclipse新建不同选项的作用
- hadoop记录篇5-eclipse开发mapreduce
- (继承方式)反射获取泛型类的类型和对象
- java学习第38天,集合排序
- Debian GNU/Linux 8.4 (jessie)编译安装php.md
- 第四次自考总结
- cf878a(位运算)