[rabbitmq-discuss] RabbitMQ hanging during 'rabbitmqctl stop' - please help

Simon MacMullen simon at rabbitmq.com
Fri Jul 26 11:30:32 BST 2013

On 23/07/2013 3:39PM, Casey Marshall wrote:
> I was able to automate creation and distribution of certificates among
> the servers, and the setup works fine in a local KVM-virtualized
> environment. However, when I started testing it in EC2 across regions, I
> started having problems. RabbitMQ hangs on some of the servers in EC2
> during 'service rabbitmq-server restart'.

We're aware of a bug that could cause deadlocks on shutdown. We've 
thought of it as something that people are quite unlikely to run into 
though, so I'm surprised you're seeing it so frequently.

> I have scripts to automate updating the federated exchanges, to effect
> topology changes on the "federated group" -- adding or removing a
> server, or changing its role (different roles have different exchange
> upstreams). After this script updates the federation config, the
> subsequent restart hangs on some of the servers.

However, it doesn't have anything to do with reconfiguring federation.

Are you restarting the server immediately after reconfiguring 
federation, or some time later?

Cheers, Simon

Simon MacMullen
RabbitMQ, Pivotal

More information about the rabbitmq-discuss mailing list