[rabbitmq-discuss] Newbie Q: Bugs in 2.8.2-1?
Philip K. Warren
pkwarren at gmail.com
Mon Jun 18 20:22:17 BST 2012
We have encountered issues in RabbitMQ 2.8.2 and greater with the default 'disk_free_limit' monitoring. If you are running on a system with more available RAM than disk space out of the box, RabbitMQ will block consumers in its default configuration.
We worked around this by configuring the RabbitMQ disk_free_limit threshold to be less than the default of 1. For example, to enforce the blocking of publishing only when the available disk is 10% of the memory on the system, create the file /etc/rabbitmq/rabbitmq.config and add the following setting (don't forget the trailing period):
[
{rabbit, [{disk_free_limit, {mem_relative, 0.1}}]}
].
For more information, see 'Disk-Based Flow Control' documentation here: http://www.rabbitmq.com/memory.html#diskfreesup
--
Philip K. Warren
On Monday, June 18, 2012 at 1:51 PM, Keller, Steve wrote:
>
> I have seen a couple of other threads about this, most notably “Beginner Issue with RabbitMQ”. I am running Python 2.7.3 on RHEL 5.8, 64 bit, and followed the instructions on the website to install RabbitMQ 2.8.2-1. I then did the first Python tutorial. It didn’t work – the code ran, rabbitmqctl status reported OK, but no messages came through.
>
>
>
>
>
> I also picked up a copy of the book, RabbitMQ in Action, and tried the first code in that book (Chapter 2) with the same results.
>
>
>
>
>
> From a client standpoint, it looks like it works, but producer connections remain blocked (rabbitmqctl list_connections) after sending the message and exiting.
>
>
>
>
>
> Following the suggestion from Phillipp Wollermann, I removed RabbitMQ and installed version 2.2.0-1.el5 from EPEL. The tutorial code now works fine.
>
>
>
>
>
> I think that new versions of important software should be regression tested on multiple platforms before publishing… J
>
>
>
>
>
> Thanks,
>
>
> Steve Keller
>
>
> Systems Architect, Monitoring | Email: skeller at ea.com (mailto:skeller at ea.com) | Direct: (650) 628-7056 | Cell: (415) 509-2385
>
>
>
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com (mailto:rabbitmq-discuss at lists.rabbitmq.com)
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120618/3e2e3d33/attachment.htm>
More information about the rabbitmq-discuss
mailing list