redis集群故障處理硬盤滿導致報錯


Caused by: redis.clients.jedis.exceptions.JedisDataException:
MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk.
Commands that may modify the data set are disabled, because this instance is configured to report errors
during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for
details about the RDB error......

cat etc/redis.conf | egrep -v "^#|^$"
stop-writes-on-bgsave-error no #有時候是yes無法清空 數據需要設置為no
replica-read-only yes #從節點清空數據需要把只讀設置為no

 

./redis/bin/redis-cli -h 192.168.130.39 -p 6379 -a 123456
flushall#清除所有緩存信息


redis外部客戶端無法連接 linux服務器可以直接連接 清除數據報下面錯誤 原因是硬盤滿了 日志輸出了兩份
error:MISCONF Errors writing to the AOF file: No space left on device


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM