[rabbitmq-discuss] RabbitMQ actively refuses connections after connectity issues

Chris Chew chrisch at ecollege.com
Fri Aug 5 22:18:05 BST 2011


> From: rabbitmq-discuss-bounces at lists.rabbitmq.com [rabbitmq-discuss-bounces at lists.rabbitmq.com] on behalf of > > James Carr [james.r.carr at gmail.com]
> Sent: Friday, August 05, 2011 2:56 PM
> To: rabbitmq-discuss at lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] RabbitMQ actively refuses connections after connectity issues

> Is there anyway on the server side to limit the max number of
> connections a single user or ip can make? We had the same issue
> described above due to some erronous consumer logic deployed in one of
> the applications using RabbitMQ. It quickly took up all the
> connections and never closed them, which in turn impacted the other
> applications that used that server. :(

Hi James.

Assuming Linux...what about using iptables?  IIRC, there's a "connection limit" rule available to limit the connections per source IP and destination port.

Cheers,

Chris


More information about the rabbitmq-discuss mailing list