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.
出现该问题的原因大致有两个
(1)硬盘空间不足
(2)内存空间不足
解决方法
(1)针对硬盘空间不足除了删除硬盘空间外,可以转存到其他路径
redis-cli
-p port
CONFIG SET dir /tmp/some/directory/other/than/var
CONFIG SET dbfilename temp.rdb
BGSAVE
(2)释放内存
echo 'vm.overcommit_memory = 1' >> /etc/sysctl.conf sysctl vm.overcommit_memory=1
参数含义