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

Ben Hyde bhyde at pobox.com
Tue Feb 17 18:33:19 GMT 2009


yes

Here is what it looks like as it goes into the hang, with amqplib's  
debug log enabled (which shows
the channel traffic).

 > (60, 60): Channel.basic_deliver
< (60, 80): Channel.basic_ack
update ...
 > (60, 60): Channel.basic_deliver
< (60, 80): Channel.basic_ack
update ...
 > (60, 60): Channel.basic_deliver
< (60, 80): Channel.basic_ack
update ...
 > (60, 60): Channel.basic_deliver
< (60, 80): Channel.basic_ack
update ...

On Feb 17, 2009, at 12:37 PM, Jason J. W. Williams wrote:

> Hey Ben,
>
> Are you acknowledging the messages with basic_ack?
>
> -J
>
> On Tue, Feb 17, 2009 at 8:07 AM, Ben Hyde <bhyde at pobox.com> 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.
>> The rabbitmq log shows the connection starting, and when I kill my
>> listener
>> I see the connection_closed_abruptly.
>>
>> If I turn on tracing in amqplib I can watch the listener take  
>> delivery
>> and
>> acknowledge repeatedly until the hang occurs.
>>
>> Hopefully I'm doing something obviously wrong.
>>
>> - ben
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>





More information about the rabbitmq-discuss mailing list