[rabbitmq-discuss] Topic exchange trouble with python's amqplib
tonyg at lshift.net
Tue Feb 17 16:05:02 GMT 2009
I've little experience with amqplib, but in general, you could try
running your traffic through the tracer and collecting the output.
Run the Java program com.rabbitmq.tools.Tracer, copying stdout and
stderr to some file, and direct your python program to connect on port
5673 (unless you supplied a different port on the Tracer command-line)
instead of 5672. When the hang happens, send us either the whole
collected output or the last few entries -- if it's a big file, perhaps
send it to us off-list.
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
> This works great for about ten minutes at which point it hangs in the
> The rabbitmq log shows the connection starting, and when I kill my
> I see the connection_closed_abruptly.
> If I turn on tracing in amqplib I can watch the listener take delivery
> acknowledge repeatedly until the hang occurs.
> Hopefully I'm doing something obviously wrong.
> - ben
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
 Tony Garnock-Jones | Mob: +44 (0)7905 974 211
 LShift Ltd | Tel: +44 (0)20 7729 7060
  http://www.lshift.net/ | Email: tonyg at lshift.net
More information about the rabbitmq-discuss