[rabbitmq-discuss] channel_max

Michael Klishin mklishin at gopivotal.com
Fri Nov 22 09:20:47 GMT 2013

On 22 Nov 2013, at 07:13, carlhoerberg <carl.hoerberg at gmail.com> wrote:

> We would love to be able to define channel_max, for us the default 65536 is
> way too high. Some clients are creating thousands of channels, often due to
> bugs, and is consuming all available memory. 


I did some research and there appears to be at least 3 bugs in our tracker
relevant to your request (22844, 22525, 21384).

The conclusion seems to be that global channel limit would likely be insufficient. What you
really want is per-user limits and/or extra statistics collected by the management plugin to
assist you with rogue user detection.

Making channel_max default configurable is not hard to do and it may even be possible to
get this into a point 3.2.x release. Will this be sufficient for your needs?


Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list