redis报错(error) LOADING Redis is loading the dataset in memory
生活随笔
收集整理的這篇文章主要介紹了
redis报错(error) LOADING Redis is loading the dataset in memory
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題描述:
[maintainer@bbkdb008 redis]$ ./redis-cli -p 6394 FLUSHALL ?報這樣錯
[maintainer@bbkdb008 redis]$ ./redis-cli -p 6394 flushdb 也報這樣錯。
重啟是沒有問題的。設置最近最久未使用也報這樣的問題。
解決方法:
修改配置文件 vi redis.conf
include /home/redis/redis_bbk.conf
maxmemory 6GB
maxmemory-policy ?allkeys-lru?
appendonly no
重啟redis實例,ok,解決了
[root@10-13-31-77 redis]# ./redis_multi rewrite all ? ?--釋放redis存儲Background append only file rewriting started
Background append only file rewriting started
Background append only file rewriting started
Background append only file rewriting started
來源:https://blog.csdn.net/ahzxj2012/article/details/70849157/
總結
以上是生活随笔為你收集整理的redis报错(error) LOADING Redis is loading the dataset in memory的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 5蓝精灵(蓝靛果)为什么可以称为“第三代
- 下一篇: php+swoole