[rabbitmq-discuss] RabbitMQ very slow (or never) shuts down

Matt Pietrek mpietrek at skytap.com
Thu Sep 13 00:51:09 BST 2012


I'm experience a problem where "rabbitmqctl stop" takes a very long time
(5+ minutes, or never) shuts down.

This is RabbitMQ 2.8.6 and Erlang R15B01 on Ubuntu 10.04.

The broker is running with the Federation plug-in in use, FWIW.

The last little bits of console output are:

--------
Mnesia(rabbit at mq1): write performed by {tid,307,<0.151.0>} on record:
    {rabbit_durable_route,
            {binding,
                {resource,<<"/">>,exchange,<<"skytap">>},
                <<"cmcmd.us-west.default">>,
                {resource,<<"/">>,queue,<<"cmcmd">>},
                []},
            const}
Mnesia(rabbit at mq1): Transaction log dump initiated by time_threshold:
{needs_dump,40}
Mnesia(rabbit at mq1): delete_object performed by {dirty,<0.237.0>} on record:
    {rabbit_listener,rabbit at mq1,amqp,"mq1.blah.com",
                         {0,0,0,0},
                         5672}
Mnesia(rabbit at mq1): Transaction log dump initiated by time_threshold:
already_dumped
Mnesia(rabbit at mq1): Transaction log dump initiated by time_threshold:
already_dumped
Mnesia(rabbit at mq1): Transaction log dump initiated by time_threshold:
already_dumped
--------

The rabbit at mq1.log file:

-------
=INFO REPORT==== 12-Sep-2012::16:38:14 ===
Stopping Rabbit

=INFO REPORT==== 12-Sep-2012::16:38:14 ===
    application: rabbitmq_management
    exited: stopped
    type: permanent

=INFO REPORT==== 12-Sep-2012::16:38:14 ===
    application: rabbitmq_federation
    exited: stopped
    type: permanent

=INFO REPORT==== 12-Sep-2012::16:38:14 ===
    application: rabbitmq_management_agent
    exited: stopped
    type: permanent

=INFO REPORT==== 12-Sep-2012::16:38:14 ===
stopped TCP Listener on 0.0.0.0:5672

=WARNING REPORT==== 12-Sep-2012::16:38:14 ===
Connection (<0.299.0>) closing: internal error in channel (<0.306.0>):
shutdown
-------

And the rabbitm at mq1-sasl log:

--------
=SUPERVISOR REPORT==== 12-Sep-2012::16:38:14 ===
     Supervisor: {<0.304.0>,amqp_channel_sup}
     Context:    child_terminated
     Reason:     shutdown
     Offender:   [{pid,<0.306.0>},
                  {name,channel},
                  {mfa,{amqp_channel,start_link,
                                     [direct,<0.299.0>,1,<0.305.0>,
                                      #Fun<amqp_channel_sup.0.24953263>]}},
                  {restart_type,intrinsic},
                  {shutdown,4294967295},
                  {child_type,worker}]


=SUPERVISOR REPORT==== 12-Sep-2012::16:38:14 ===
     Supervisor: {<0.304.0>,amqp_channel_sup}
     Context:    shutdown
     Reason:     reached_max_restart_intensity
     Offender:   [{pid,<0.306.0>},
                  {name,channel},
                  {mfa,{amqp_channel,start_link,
                                     [direct,<0.299.0>,1,<0.305.0>,
                                      #Fun<amqp_channel_sup.0.24953263>]}},
                  {restart_type,intrinsic},
                  {shutdown,4294967295},
                  {child_type,worker}]
--------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120912/2590ecda/attachment.htm>


More information about the rabbitmq-discuss mailing list