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

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


Thanks for all the help...  Looks like the problem in the python code,  
someplace.

On Feb 17, 2009, at 1:41 PM, Jason J. W. Williams wrote:
> if there isn't any traffic for a couple of hours the conn to RMQ  
> will close

I believe the longest quiet times are the order of a few seconds.

On Feb 17, 2009, at 2:01 PM, Dmitriy Samovskiy wrote:
> running your consumer code on broker machine

tried that, same behavior

On Feb 17, 2009, at 11:05 AM, Tony Garnock-Jones wrote:
> ...you could try running your traffic through the tracer ...

oh, that's fun

On Feb 17, 2009, at 2:01 PM, Dmitriy Samovskiy wrote:
> ...Tcpdump should also show if messages published after hang ...

Didn't break out tcpdump yet, but the java tracer shows that after the  
hang messages are
being pushed toward the python client.  A bit it's tracing log cleaned  
up with grep -o

...

1234899260133: conn#0 ch#1 -> {#method<basic.ack>
1234899261041: conn#0 ch#1 <- {#method<basic.deliver>
1234899261042: conn#0 ch#1 -> {#method<basic.ack>
1234899263217: conn#0 ch#1 <- {#method<basic.deliver>
1234899263219: conn#0 ch#1 <- {#method<basic.deliver>
1234899263220: conn#0 ch#1 -> {#method<basic.ack>
1234899263220: conn#0 ch#1 -> {#method<basic.ack>
1234899263992: conn#0 ch#1 <- {#method<basic.deliver>
1234899263993: conn#0 ch#1 -> {#method<basic.ack>
1234899265527: conn#0 ch#1 <- {#method<basic.deliver>
1234899265528: conn#0 ch#1 -> {#method<basic.ack>
1234899268306: conn#0 ch#1 <- {#method<basic.deliver>
1234899268307: conn#0 ch#1 -> {#method<basic.ack>
1234899268322: conn#0 ch#1 <- {#method<basic.deliver>
1234899268323: conn#0 ch#1 -> {#method<basic.ack>
1234899268747: conn#0 ch#1 <- {#method<basic.deliver>
1234899268748: conn#0 ch#1 -> {#method<basic.ack>
1234899270163: conn#0 ch#1 <- {#method<basic.deliver>
1234899270166: conn#0 ch#1 -> {#method<basic.ack>         <<-- after  
this it get's hung.
1234899273214: conn#0 ch#1 <- {#method<basic.deliver>
1234899273217: conn#0 ch#1 <- {#method<basic.deliver>
1234899273300: conn#0 ch#1 <- {#method<basic.deliver>
1234899273742: conn#0 ch#1 <- {#method<basic.deliver>
1234899275357: conn#0 ch#1 <- {#method<basic.deliver>
1234899278435: conn#0 ch#1 <- {#method<basic.deliver>
1234899278436: conn#0 ch#1 <- {#method<basic.deliver>
1234899278741: conn#0 ch#1 <- {#method<basic.deliver>
1234899280579: conn#0 ch#1 <- {#method<basic.deliver>
1234899283216: conn#0 ch#1 <- {#method<basic.deliver>
1234899283387: conn#0 ch#1 <- {#method<basic.deliver>
1234899283741: conn#0 ch#1 <- {#method<basic.deliver>





More information about the rabbitmq-discuss mailing list