简体   繁体   中英

RabbitMQ overflow queue to disk

I have RabbitMQ with limited amount of RAM. If publishers and consumers online, it's all ok, but when need do restart consumer, RabbitMQ fill the memory and block publishers. When publishers is blocked, it will fast eat RAM. How to confiurate RabbitMQ to overflow queue to disk, is RAM is fully filled?

It might help to make use of the Time-To-Live Extensions. See http://www.rabbitmq.com/ttl.html#per-queue-message-ttl and set an expiration for messages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM