[rabbitmq-discuss] Queue declare doesn't return

Michael Journo gobadiah at gmail.com
Thu May 23 14:11:29 BST 2013


Hello Tim,

I'm using debian 6 and 7, and indeed I think heartbeats would be a good
start to prevent this kind of behaviour, but helas SimpleAqmpClient doesn't
support it. Can you think of any workaround ?

Thank you so much,


2013/5/20 Tim Watson <watson.timothy at gmail.com>

> This sounds a lot like the physical network connection has been severed,
> but the client isn't noticing for a very long time. What os are you using?
> Have you considered turning on heartbeats in your clients, be expedite
> detection of connection failures?
>
> Cheers,
> Tim
>
> On 20 May 2013, at 16:26, Michael Journo <gobadiah at gmail.com> wrote:
>
>  Hello,
>
>
> I've came across a problem, but unfortunately I have very little
> information about it.
>
>
> I use rabbitmq 2.8.4, along with clients such as pika (python side) and
> SimpleAmqpClient (c++ side). This issue was experienced in both those
> clients.
>
>
> What happened is simply that DeclareQueue or queue_declare wouldn't return
> at all (I mean being blocked for *days*).
>
>
> When the incident started, I get a lot of
>
>
>
> =WARNING REPORT==== 18-May-2013::03:09:18 ===
>
> closing AMQP connection <0.3256.1697> (127.0.0.1:46099 -> 127.0.0.1:5672):
>
> connection_closed_abruptly
>
>
> in the rabbitmq log, but nothing more.
>
>
> I fixed this by … restarting rabbitmq, but I'm kind of worry because I
> don't know how to detect this problem again (building a timeout mechanism
> on top of the clients is just not ok).
>
>
> If anyone has any idea about what could cause this, it would be greatly
> appreciated.
>
> --
> michael
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>


-- 
michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130523/2cf43ade/attachment.htm>


More information about the rabbitmq-discuss mailing list