[rabbitmq-discuss] rabbitmqctl not showing owner_pid for mirrored queues

Matthew Sackman matthew at rabbitmq.com
Tue Oct 25 17:28:35 BST 2011


On Tue, Oct 25, 2011 at 10:25:33AM -0600, Jason J. W. Williams wrote:
> When I run `rabbitmqctl list_queues` and spec owner_pid as a field,
> mirrored queues don't seem to show that field:
> 
> Phantome:jasonjwwilliams  $ /opt/rabbitmq-server/sbin/rabbitmqctl -n
> rabbit2 at Phantome list_queues name owner_pid slave_pids
> Listing queues ...
> hello-queue		[<rabbit2 at Phantome.1.1904.0>]
> ...done.
> 
> 
> How can you determine the owner/master of a mirrored queue from the
> command line?

Owner is not the same as master. Owner refers to the connection that
created the exclusive queue. If the queue was not declared exclusive, it
won't have an owner.

Other queue info items allow you to inspect the various pids of an HA
queue.

Matthew


More information about the rabbitmq-discuss mailing list