<div>
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.</div><div><br></div><div>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):</div><div><br></div><div>[<br>
{rabbit, <span class="error">[{disk_free_limit, {mem_relative, 0.1}}]</span>}<br>
].</div><div><br></div><div>For more information, see 'Disk-Based Flow Control' documentation here: http://www.rabbitmq.com/memory.html#diskfreesup</div>
<div><div><br></div><div>-- </div><div>Philip K. Warren<br></div><div><br></div></div>
<p style="color: #A0A0A8;">On Monday, June 18, 2012 at 1:51 PM, Keller, Steve wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">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. <o:p></o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><o:p> </o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">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. <o:p></o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><o:p> </o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">From a client standpoint, it looks like it works, but producer connections remain blocked (rabbitmqctl list_connections) after sending the message and exiting.<o:p></o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><o:p> </o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">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.<o:p></o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><o:p> </o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I think that new versions of important software should be regression tested on multiple platforms before publishing… <span style="font-family:Wingdings">J</span> <o:p></o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><o:p> </o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks,<o:p></o:p></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><b><span style="font-family:"Cambria","serif";color:#002060">Steve Keller<o:p></o:p></span></b></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-size:10.0pt;font-family:"Cambria","serif";color:#595959">Systems Architect, Monitoring | Email: <a href="mailto:skeller@ea.com"><span style="color:#595959">skeller@ea.com</span></a> | Direct: (650) 628-7056 | Cell: (415) 509-2385<o:p></o:p></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><o:p> </o:p></p></div></div><div><div>_______________________________________________</div><div>rabbitmq-discuss mailing list</div><div><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a></div><div><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>