V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
GOOD21
V2EX  ›  问与答

关于 RabbitMQ shutdown_error 的问题,求解

  •  
  •   GOOD21 · Sep 11, 2017 · 4257 views
    This topic created in 3151 days ago, the information mentioned may be changed or developed.

    rabbitmq 集群的镜像节点,偶尔回报如下这个错:

    
    =SUPERVISOR REPORT==== 10-Sep-2017::07:18:53 ===
         Supervisor: {<0.4199.5309>,
                                               rabbit_channel_sup_sup}
         Context:    shutdown_error
         Reason:     shutdown
         Offender:   [{nb_children,1},
                      {name,channel_sup},
                      {mfargs,{rabbit_channel_sup,start_link,[]}},
                      {restart_type,temporary},
                      {shutdown,infinity},
                      {child_type,supervisor}]
    

    一般几分钟甚至几小时报一次,不会有问题。

    偶尔一秒会报好几次,这个时候前面的负载均衡就会剔除,如果这时候不重启节点,内存就会一直升高(并不是因为队列里堆积的消息),直到队列集群挂掉。

    遇到这个问题好久了,一直没有找到根本原因。去 google 了一下,也没有太好的解释。

    请 Erlang 大神 和 RabbitMQ 大神帮忙解释下。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5598 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 09:13 · PVG 17:13 · LAX 02:13 · JFK 05:13
    ♥ Do have faith in what you're doing.