On 22 January 2016 at 17:15:15, Pavel (pavel....@gmail.com) wrote:
> We are using RabbitMQ with message persistent option,
> so files, stored in ${install_prefix}/var/lib/rabbitmq/mnesia
> growing up util drive become full, and RabbitMQ will hang up.
You may want to get familiar with the free disk space limit:
http://www.rabbitmq.com/alarms.html
> After restart it clear mnesia files and the story begins again.
>
> Could anyone please point me how to limit or purge mnesia files
> correctly.
If you consistently run out of disk space, the real question is how to
prevent this.
You have a few options:
* Move RabbitMQ database directory to a larger partition/drive
* Limit queue length or use TTL
* Use more nodes with mirroring to only a subset or no mirroring at all
https://www.rabbitmq.com/maxlength.html
http://www.rabbitmq.com/ttl.html
--
MK
Staff Software Engineer, Pivotal/RabbitMQ