[rabbitmq-discuss] Topic exchange trouble with python's amqplib

Dmitriy Samovskiy dmitriy.samovskiy at cohesiveft.com
Tue Feb 17 19:01:15 GMT 2009



Ben Hyde wrote:
>>> I've got a problem; maybe people can offer some suggestions for  
>>> things
>>> to try.
>>>
>>> I've a listener on a topic exchange.  Using python amqplib I connect
>>> to a topic
>>> exchange, binding a pattern, read messages off the wire, and handle
>>> them.
>>> This works great for about ten minutes at which point it hangs in the
>>> read.
Could it be tied to some event from underlying network? Maybe run tcpdump on both broker 
and client to make sure all packets reach their destination in each direction. Tcpdump 
should also show if messages published after hang occurs are being delivered to your 
consumer or not.

Also, you might be able to isolate the issue by running your consumer code on broker 
machine - this will eliminate the network from the equation.



HTH,
Dmitriy






More information about the rabbitmq-discuss mailing list