[rabbitmq-discuss] Rabbitmq 2.5-2.6.1 java hanging on close of connection
sankalp.acharya at gmail.com
Tue Jan 15 20:55:06 GMT 2013
Incidentally, we figured out what the problem is.
It seems that when the watermark checking was added in RabbitMQ 2.8.1,
there was a feature that was added that basically blocks all currently-open
connections until the watermark thresholds are cleared. What was happening
on our build servers is that the test instance of RabbitMQ was just barely
crossing the disk watermark threshold to where the MQ server started
blocking connections. This would happen intermittently, depending on which
side of the watermark the free disk space was at.
It seems that the connection blocking, in turn, *also* blocks close
requests from being ack'd! This certainly seems like a bug to me – I'm not
sure why the server should deny already-connected clients the ability to
close their connections.
At any rate, I wanted to post to this thread in case anyone else ran into
On Friday, January 11, 2013 3:58:31 PM UTC-6, Sankalp Acharya wrote:
> We are seeing this same exact behavior, but on a newer version of RabbitMQ
> What's strange is that the problem had not been occurring until recently.
> We are also using Spring AMQP (1.1.3), and we have virtually the same use
> case (running from unit tests, the test tries to wind down, and on
> disposing the Spring context, it tries to close the
> CachingConnectionFactory, upon which we are trying to close the connection
> to RabbitMQ, etc.)
> Is there something else we are missing, that we need to do (either in the
> configuration of our CachingConnectionFactory, or in the rest of our Spring
> wireup) in order to not run into this issue?
> Sankalp Acharya
> WhaleShark Media
> On Wednesday, March 7, 2012 9:11:45 AM UTC-6, Simon MacMullen wrote:
>> On 07/03/12 14:41, Benjamin Bennett wrote:
>> > Just wondering if this has been fixed in the latest releases?
>> Yes, it was fixed in 2.7.1.
>> Cheers, Simon
>> Simon MacMullen
>> RabbitMQ, VMware
>> rabbitmq-discuss mailing list
>> rabbitmq... at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss