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.

配置优化,添加以下配置项到/etc/sysctl.conf配置文件:

vm.overcommit_memory = 1

执行以下命令使其实时生效:

sysctl vm.overcommit_memory=1

如果Redis缓存的为非重要数据,如网页缓存,对可用性要求不高,可以修改Redis的配置文件如下:

stop-writes-on-bgsave-error no

如果缓存数据丢失也可以接受,可以关闭appendonly

appendonly no

Stackoverflow:https://stackoverflow.com/questions/19581059/misconf-redis-is-configured-to-save-rdb-snapshots

Redis Persistence:https://redis.io/topics/persistence

最新文章

  1. ios网络知识
  2. Microsoft.Practices.Unity入门
  3. Node.js使用Mongoose包操作MongoDB数据库
  4. jQuery知识点总结(第三天)
  5. 剑指Offer:面试题19——二叉树的镜像(java实现)
  6. [CareerCup] 13.6 Virtual Destructor 虚析构函数
  7. C# JS URL 中文传参出现乱码的解决方法
  8. 四种方式写按钮点击事件和Android 中常用的布局
  9. 关于android:configChanges的属性
  10. php异步调用方法实现示例
  11. HDU 4247 A Famous ICPC Team
  12. 初识hadoop-历史及其家族(日志一)
  13. Centos7下部署ceph 12.2.1 (luminous)集群及RBD使用
  14. 网卡的 Ring Buffer 详解
  15. 19南昌网络赛L
  16. 2.6 if嵌套
  17. 常用工具&网址
  18. js数字格式化为千分位
  19. dbcp2连接池获取数据库连接Connection
  20. checkStype和findBugs校验

热门文章

  1. kafka内置的zookeeper
  2. Rails 异常处理 && 性能
  3. Android中验证输入是否为汉字及手机号,邮箱验证,IP地址可用port号验证
  4. 【SQLSERVER】MD5注意事项
  5. _DataStructure_C_Impl:链串
  6. ssh无法连接到远端Ubuntu的解决方法
  7. 消息推送之百度云推送Android集成与用法
  8. 【POJ 1703】 Find them,Catch them
  9. [ligerUI] grid封装调用方法
  10. Arduino-IIC-Wire.h