I'm experience a problem where "rabbitmqctl stop" 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,<0.151.0>} on record:<br> {rabbit_durable_route,<br> {binding,<br> {resource,<<"/">>,exchange,<<"skytap">>},<br>
<<"cmcmd.us-west.default">>,<br> {resource,<<"/">>,queue,<<"cmcmd">>},<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,<0.237.0>} on record:<br> {rabbit_listener,rabbit@mq1,amqp,"<a href="http://mq1.blah.com">mq1.blah.com</a>",<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 (<0.299.0>) closing: internal error in channel (<0.306.0>): shutdown<br>-------<br><br>And the rabbitm@mq1-sasl log:<br><br>--------<br>=SUPERVISOR REPORT==== 12-Sep-2012::16:38:14 ===<br> Supervisor: {<0.304.0>,amqp_channel_sup}<br>
Context: child_terminated<br> Reason: shutdown<br> Offender: [{pid,<0.306.0>},<br> {name,channel},<br> {mfa,{amqp_channel,start_link,<br> [direct,<0.299.0>,1,<0.305.0>,<br>
#Fun<amqp_channel_sup.0.24953263>]}},<br> {restart_type,intrinsic},<br> {shutdown,4294967295},<br> {child_type,worker}]<br><br>
<br>=SUPERVISOR REPORT==== 12-Sep-2012::16:38:14 ===<br> Supervisor: {<0.304.0>,amqp_channel_sup}<br> Context: shutdown<br> Reason: reached_max_restart_intensity<br> Offender: [{pid,<0.306.0>},<br>
{name,channel},<br> {mfa,{amqp_channel,start_link,<br> [direct,<0.299.0>,1,<0.305.0>,<br> #Fun<amqp_channel_sup.0.24953263>]}},<br>
{restart_type,intrinsic},<br> {shutdown,4294967295},<br> {child_type,worker}]<br>--------<br>