<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 13 May 2013, at 17:02, Michael Klishin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra">2013/5/13 Tim Watson <span dir="ltr">&lt;<a href="mailto:tim@rabbitmq.com" target="_blank">tim@rabbitmq.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>1. are you sure the queue is not empty by the time the consumer is restarted?</div></blockquote><div><br></div><div style="">I typically restart the publisher first, so yes, there are certainly messages in the queue</div>

</div></div></div></blockquote><div><br></div><div>I didn't try that, but it wouldn't make any difference if that alarm was still set, since the producer would get blocked immediately would it not?</div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>2. do you receive no methods at all in the consumer, not even connection negotiation?</div></blockquote>

</div><br>Correct. But it appears to be that any network activity almost locks up, I blame the OS X kernel that's very easy to</div><div class="gmail_extra">overwhelm with flood publishing on localhost.<br></div></div></blockquote><div><br></div><div>I've certainly been unable to replicate this across two machines, and with just localhost on Snow Leopard, I never get the queue to be anything but empty, that is once the producer is blocked and the consumer is receiving no more messages, running `rabbitmqctl list_queues' shows a queue length of 0. How do you get more messages into the queue then, if a memory alarm is still set? I didn't think that was possible?</div><div><br></div><div>Cheers,</div><div>Tim</div></div></body></html>