[rabbitmq-discuss] Closing stuck client connections
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.
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
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss