[rabbitmq-discuss] Java client blocked when opening channel
Guillaume PERROT
gperrot at ubikod.com
Wed Jan 25 14:53:55 GMT 2012
My bad, it was a deadlock caused by a thread blocking in
handleDelivery.
I can't upgrade now but I fixed my code by using an executor like in
the new version of the rabbitmq client.
On 25 jan, 15:49, Steve Powell <st... at rabbitmq.com> wrote:
> Guillaume,
>
> Starting in 2.7.0, the threading model (for channels and Consumers) changed, so
> I would expect the behaviour to be quite different now.
>
> Have you tried upgrading to 2.7.1?
>
> If you still experience the problem, some more information would be useful --
> like a 'rabbitmqctl report' after the hang has taken place, and a thread stack
> trace of the java app which is blocked, and so on.
>
> Steve Powell (a happy bunny)
> ----------some more definitions from the SPD----------
> vermin (v.) Treating the dachshund for roundworm.
> chinchilla (n.) Cooling device for the lower jaw.
> socialcast (n.) Someone to whom everyone is speaking but nobody likes.
>
> On 24 Jan 2012, at 10:13, Guillaume Perrot wrote:
>
>
>
>
>
>
>
> > Matthias Radestock <matthias at ...> writes:
>
> >> Jiri,
>
> >> On 23/02/11 09:56, Jiri Krutil wrote:
> >>> One of our threads got stuck inside AMQConnection.createChannel() and
> >>> would not return.
> >>> [...]
> >>> We are running RabbitMQ 2.1.0 (both server and Java client).
>
> >> A fix for a bug with similar symptoms appeared in the 2.3.x Java client,
> >> so I suggest you upgrade the client to 2.3.1. Might as well upgrade the
> >> server at the same time, though that's not strictly necessary.
>
> >> Matthias.
>
> > I have the same problem with v2.5.1
> > createChannel does not have a timeout ?
> > When the problem happens, consuming stops on already running
> > channels for this connection.
>
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-disc... at lists.rabbitmq.com
> >https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list