I&#39;m experience a problem where &quot;rabbitmqctl stop&quot; takes a very long time (5+ minutes, or never) shuts down.<br><br>This is RabbitMQ 2.8.6 and Erlang R15B01 on Ubuntu 10.04.<br><br>The broker is running with the Federation plug-in in use, FWIW.<br>
<br>The last little bits of console output are:<br><br>--------<br>Mnesia(rabbit@mq1): write performed by {tid,307,&lt;0.151.0&gt;} on record:<br>��� {rabbit_durable_route,<br>����������� {binding,<br>��������������� {resource,&lt;&lt;&quot;/&quot;&gt;&gt;,exchange,&lt;&lt;&quot;skytap&quot;&gt;&gt;},<br>
��������������� &lt;&lt;&quot;cmcmd.us-west.default&quot;&gt;&gt;,<br>��������������� {resource,&lt;&lt;&quot;/&quot;&gt;&gt;,queue,&lt;&lt;&quot;cmcmd&quot;&gt;&gt;},<br>��������������� []},<br>����������� const}<br>Mnesia(rabbit@mq1): Transaction log dump initiated by time_threshold: {needs_dump,40}<br>
Mnesia(rabbit@mq1): delete_object performed by {dirty,&lt;0.237.0&gt;} on record:<br>��� {rabbit_listener,rabbit@mq1,amqp,&quot;<a href="http://mq1.blah.com">mq1.blah.com</a>&quot;,<br>������������������������ {0,0,0,0},<br>
������������������������ 5672}<br>Mnesia(rabbit@mq1): Transaction log dump initiated by time_threshold: already_dumped<br>Mnesia(rabbit@mq1): Transaction log dump initiated by time_threshold: already_dumped<br>Mnesia(rabbit@mq1): Transaction log dump initiated by time_threshold: already_dumped<br>
--------<br><br>The rabbit@mq1.log file:<br><br>-------<br>=INFO REPORT==== 12-Sep-2012::16:38:14 ===<br>Stopping Rabbit<br><br>=INFO REPORT==== 12-Sep-2012::16:38:14 ===<br>��� application: rabbitmq_management<br>��� exited: stopped<br>
��� type: permanent<br><br>=INFO REPORT==== 12-Sep-2012::16:38:14 ===<br>��� application: rabbitmq_federation<br>��� exited: stopped<br>��� type: permanent<br><br>=INFO REPORT==== 12-Sep-2012::16:38:14 ===<br>��� application: rabbitmq_management_agent<br>
��� exited: stopped<br>��� type: permanent<br><br>=INFO REPORT==== 12-Sep-2012::16:38:14 ===<br>stopped TCP Listener on <a href="http://0.0.0.0:5672">0.0.0.0:5672</a><br><br>=WARNING REPORT==== 12-Sep-2012::16:38:14 ===<br>
Connection (&lt;0.299.0&gt;) closing: internal error in channel (&lt;0.306.0&gt;): shutdown<br>-------<br><br>And the rabbitm@mq1-sasl log:<br><br>--------<br>=SUPERVISOR REPORT==== 12-Sep-2012::16:38:14 ===<br>���� Supervisor: {&lt;0.304.0&gt;,amqp_channel_sup}<br>
���� Context:��� child_terminated<br>���� Reason:���� shutdown<br>���� Offender:�� [{pid,&lt;0.306.0&gt;},<br>����������������� {name,channel},<br>����������������� {mfa,{amqp_channel,start_link,<br>������������������������������������ [direct,&lt;0.299.0&gt;,1,&lt;0.305.0&gt;,<br>
������������������������������������� #Fun&lt;amqp_channel_sup.0.24953263&gt;]}},<br>����������������� {restart_type,intrinsic},<br>����������������� {shutdown,4294967295},<br>����������������� {child_type,worker}]<br><br>
<br>=SUPERVISOR REPORT==== 12-Sep-2012::16:38:14 ===<br>���� Supervisor: {&lt;0.304.0&gt;,amqp_channel_sup}<br>���� Context:��� shutdown<br>���� Reason:���� reached_max_restart_intensity<br>���� Offender:�� [{pid,&lt;0.306.0&gt;},<br>
����������������� {name,channel},<br>����������������� {mfa,{amqp_channel,start_link,<br>������������������������������������ [direct,&lt;0.299.0&gt;,1,&lt;0.305.0&gt;,<br>������������������������������������� #Fun&lt;amqp_channel_sup.0.24953263&gt;]}},<br>
����������������� {restart_type,intrinsic},<br>����������������� {shutdown,4294967295},<br>����������������� {child_type,worker}]<br>--------<br>