<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Michael,<div><br></div><div>A couple of quick questions about this...</div><div><br></div><div>1. are you sure the queue is not empty by the time the consumer is restarted?</div><div>2. do you receive no methods at all in the consumer, not even connection negotiation?</div><div><br></div><div>I can't replicate this viz (1) for me the queue is always empty by the time the consumer is stopped and restarted and (2) I see the connection and basic.consume get going before the consumer gets stuck and it is in 'blocking' mode, which given that the queue is empty and the alarm still set, is apparently ok.</div><div><br></div><div>Cheers,</div><div>Tim</div><div><br><div><div>On 3 May 2013, at 10:45, Michael Klishin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra">2013/5/3 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Have you got a reproducible (ish) test that I can run on a linux box? If so, I'll poke around and make sure it's not showing up there too.</blockquote></div><br><a href="https://gist.github.com/michaelklishin/cea9aff14506e95def59">https://gist.github.com/michaelklishin/cea9aff14506e95def59</a><br>

<br clear="all"><div style="">You'll need Ruby and RubyGems available.</div><div style=""><br></div><div style="">Put all 3 files in a directory, then do</div><div style=""><br></div><div style="">&nbsp;* [sudo] gem install bundler</div>

<div style="">&nbsp;* bundle install</div><div style="">&nbsp;* run bundle exec ruby ./consumer.rb and bundle exec ruby ./producer.rb in two tabs<br></div><div style="">&nbsp;</div><div style="">You can tweak message rates and size in publisher.rb. If you want to see methods</div>

<div style="">received from rabbit, run the consumer with BUNNY_LOG_LEVEL=debug.</div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>


</div></div>
_______________________________________________<br>rabbitmq-discuss mailing list<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></blockquote></div><br></div></body></html>