sentinel 内存泄露导致内存耗尽swap交换频繁

来源:互联网 发布:unity3d 4.6 vs 编辑:程序博客网 时间:2024/06/05 18:46

经查看redis 配置了五个节点,后来下线两个redis,但是sentinel依然显示五个节点,但是两个节点显示下线,但是sentinel依然每隔一秒钟去探测下线的服务器,此问题是sentinel的bug参见官方文档,在3.0.2中已经修复

* [FIX] Resolved a memoryleak in the hiredis library causing a memory leak

       in Redis Sentinel when a monitored instance or another Sentinel is

       unavailable. Every reconnection attempt will leak a small amount of

       memory, but in the long run the process can reach a considerable size.

 

具体见redisReleaseNotes

--[ Redis 3.0.0 RC1 (version 2.9.101) ] Release date: 9 oct 2014

 

https://raw.githubusercontent.com/antirez/redis/3.0/00-RELEASENOTES


0 0
原创粉丝点击