[rabbitmq-discuss] How to debug queue memory leak
Michael Klishin
michael.s.klishin at gmail.com
Fri Jan 25 15:35:36 GMT 2013
2013/1/25 Max E. Kuznecov <syhpoon at gmail.com>
> I'm observing a constant growth in queues memory as the time passes
> despite the fact rabbitmqctl shows zeros in messages column.
Max,
RabbitMQ will not delete queues when they have 0 messages in them. You have
a number of options
to deal with the temporary queues explosion:
* Clean them up manually after clients receive responses
* Use auto-delete queues and remove consumers (they will be deleted when
the last consumer disconnects)
* Use exclusive queues. They will be removed when the connection that
declared them closes.
The latter is probably not an option for long running systems.
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130125/af23636b/attachment.htm>
More information about the rabbitmq-discuss
mailing list