[rabbitmq-discuss] Closing stuck client connections

Mahesh Viraktamath yuva670 at gmail.com
Tue Aug 27 09:20:10 BST 2013


Yes, the solution is appropriate for avoiding the connection blocking. In
our case, the consumer itself hangs and the client waits for the ack and
the connection goes idle. We need to close such connections where the ack
is delayed from the consumer side.


Thanks again,
Mahesh


On Tue, Aug 27, 2013 at 1:41 PM, Michael Klishin <mklishin at gopivotal.com>wrote:

> Mahesh Viraktamath:
>
> > Is there any timeout mechanism for connections to close after a fixed
> time duration, so that such connections do not block rabbitmq.
>
> Have you tried using shorter heartbeat intervals? Also, unless you run out
> of file descriptors
> available to RabbitMQ, consumer connections should not block anything. But
> even in that
> case increasing max # of file descriptors (ulimit -n) is a much better
> solution.
> --
> MK
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130827/d7967475/attachment.htm>


More information about the rabbitmq-discuss mailing list