[rabbitmq-discuss] RabbitMQ .NET deadlock after calling .CreateConnection
Andrius Norkaitis
andrius.norkaitis at oryo.lt
Tue Jun 30 21:43:18 BST 2009
To answer to your question Matthias, we found that the thread blocks after
calling "using (conn = cf.CreateConnection(serverAddress))" (I provided our
source code some time ago). Currently we can't do more debugging on this.
This problem occurs only on the instable/bad quality internet connection (if
I just unplug cable it do not hangs). Few days ago I had problems with my
home internet (not only rabbit, but other software had connection problems
too) and that described problem with calling .CreateConnection after current
connection interups occurred frequently. Now it's ok, but to one of our
clients such connection losses with hangs up when reconnecting occurs few
times a day (perhaps their internet isn't very stable).
As for temporary solution we created monitoring thread, which aborts and
recreates thread which manages rabbit connection (if it starts not
responding after calling .CreateConnection).
Does anybody else use rabbit with internet (maybe 3G)? What reconnect
strategy do you use and had you ever any problems with .CreateConnection?
Hope this rare bug will be fixed in the future.
Best regards
Andrius
-----Original Message-----
From: Matthias Radestock [mailto:matthias at lshift.net]
Sent: Friday, June 19, 2009 4:36 PM
To: Alexis Richardson
Cc: Andrius Norkaitis; rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] RabbitMQ .NET deadlock after calling
.CreateConnection
Alexis,
Alexis Richardson wrote:
> I just noticed nobody has replied to this thread.
Actually that thread got continued at
http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-June/004192.html
to which I responded here:
http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2009-June/004218.html
For some reason Nabble has put that message in the wrong thread:
http://www.nabble.com/RabbitMQ-stomp-adapter-behaviour-td23917501.html#a2399
7427
which probably explains why you thought nobody had responded.
Matthias.
More information about the rabbitmq-discuss
mailing list