[rabbitmq-discuss] Queue disappears during high volume federation

Matt Pietrek mpietrek at skytap.com
Tue Aug 14 21:22:10 BST 2012


False alarm here. I had subtly and inadvertently introduced some threading
with Pika doesn't like too much.

Once those issues are fixed, things seem to work as expected.

Thanks for the quick response Matthias!

On Tue, Aug 14, 2012 at 9:29 AM, Matt Pietrek <mpietrek at skytap.com> wrote:

> Hmm... I'm using Pika. Perhaps it's feeling overloaded and dropping the
> connection. At least I have a new direction to pursue.
>
> Thanks!
>
>
> On Tue, Aug 14, 2012 at 8:59 AM, Matthias Radestock <matthias at rabbitmq.com
> > wrote:
>
>> Matt,
>>
>>
>> On 14/08/12 01:25, Matt Pietrek wrote:
>>
>>> I'm hitting an issue where a queue disappears from underneath me in a
>>> high volume federated scenario.
>>>
>>> Background: I'm on RabbitMQ 2.8.5 on top of Ubuntu 10.04.
>>>
>>> I have three brokers bi-directionally federated similarly to the "Small
>>> complete Graph" example in http://www.rabbitmq.com/**federation.html<http://www.rabbitmq.com/federation.html>.
>>> My
>>> exchange is called "Skytap", and is a topic exchange. One of the routing
>>> key 'words' directs messages to the appropriate broker.
>>>
>>> In my example, I have a single master sending "requests" to two slaves
>>> which reply back to the master, simulating an RPC scenario. A client app
>>> on the 'master' broker reads from an exclusive queue called 'master",
>>> while client apps on the slave brokers read from an exclusive queue
>>> called "slave'.
>>>
>>> In the low volume case, everything works as expected: A steady stream of
>>> request messages seen on the slaves and a steady stream of reply
>>> messages seen on the master.
>>>
>>> However, if I write "request" messages as fast as possible, in short
>>> order I see the 'master' queue disappear. (I know this because I have
>>> mnesia logging turned on.)
>>>
>>
>> Since the 'master' queue is exclusive, and there is nothing unusual in
>> the rabbit logs indicating any rabbit-internal problems (you've checked the
>> sasl log as well, right?) the only way that queue can vanish is for it to
>> be either deleted explicitly by the creating connection or for the
>> connection to have been closed.
>>
>> Can't see how federation would have anything to do with this since it is
>> not touching user queues.
>>
>> Matthias.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120814/1ee99a56/attachment.htm>


More information about the rabbitmq-discuss mailing list