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

晚上10点,同事给我电话,服务器挂掉了,报错如下:   

File "build\bdist.win32\egg\redis\client.py", line 361, in execute_command
    return self.parse_response(connection, command_name, **options)
  File "build\bdist.win32\egg\redis\client.py", line 371, in parse_response
    response = connection.read_response()
  File "build\bdist.win32\egg\redis\connection.py", line 311, in read_response
    raise response
ResponseError: 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.

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk._第1张图片


报错很明显,数据不能序列化到硬盘。

用 df 命令检查硬盘情况,发现磁盘满了:

MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk._第2张图片



解决】:删除磁盘上无用的一些日志文件,重启redis服务器。报错解决!



你可能感兴趣的:(MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.)