[rabbitmq-discuss] Queue Size

Simon MacMullen simon at rabbitmq.com
Wed Jan 4 13:41:28 GMT 2012

On 03/01/12 16:07, Emile Joubert wrote:
> Hi Poorna,
> On 03/01/12 15:46, Poorna Chander Kola wrote:
>> How we can find the phisical memory, the persistent queue is occupied on
>> disk. Please show some light on it. Thank you
> You can find out how much RAM a queue consumes with
> "rabbitmqctl list_queues name memory".
> You can get an idea of how many messages are on disk by calling
> "rabbitmqctl list_queues name memory backing_queue_status"
> and noting the "persistent_count" value. Bear in mind that this is not
> part of the published interface, and it only provides a message count.

Also, bear in mind that "the amount of space a queue takes on disk" is a 
rather dubious concept, since messages that get sent to multiple queues 
will only get sent to disk once - in fact the on-disk data structures 
have little connection with queues.

Cheers, Simon

Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list