MISCONF Errors writing to the AOF file: Bad file descriptor

redis 报错:MISCONF Errors writing to the AOF file: Bad file descriptor

错误原因是说磁盘空间即将不足。但实际情况我的磁盘空间非常充足。

该问题的原因有可能因为操作系统层面的的错误导致。执行以下步骤可解决问题。且数据不丢失。

修复办法:

  1. 备份 appendonly.aof 为 appendonly.aof.bak
  2. 删除 appendonly.aof
  3. 复制 appendonly.aof.bak 到 appendonly.aof

该操作无效。

redis-check-aof --fix appendonly.aof

相关推荐
白豆五1 天前
Redis高级(持久化机制、主从集群、哨兵、分片集群)
数据库·redis·缓存
woniu_buhui_fei1 天前
Redis知识整理一
数据库·redis·缓存
Chasing__Dreams1 天前
Redis--基础知识点--29--Redis瓶颈
数据库·redis·php
2601_949194261 天前
Redis的安装教程(Windows+Linux)【超详细】
linux·数据库·redis
豆瓣鸡1 天前
Redis笔记(黑马点评)
java·redis·nosql
csdn2015_1 天前
spring boot 启动的时候将数据库里的分类信息写入redis
数据库·spring boot·redis
大G的笔记本1 天前
redis分布式锁过期问题和自动续期和主从延迟问题
redis·分布式
MmeD UCIZ1 天前
GO 快速升级Go版本
开发语言·redis·golang
難釋懷1 天前
Redis服务器端优化-内存划分和内存配置
java·redis·spring
qiuyunoqy1 天前
Redis 常见数据结构,编码方式
数据库·redis·缓存