[rabbitmq-discuss] Specifying channel_max
Simon MacMullen
simon at rabbitmq.com
Fri Jan 27 16:06:04 GMT 2012
On 27/01/12 16:00, Dan Dart wrote:
> We're after being able to increase channel_max so that Rabbit can
> handle more and not give us errors about not having enough channel
> ids.
> According to Rabbit documentation on AMQP:
This controls the number of channels allowed per single TCP connection.
RabbitMQ by default will negotiate a channel_max of 65535 (and in fact
AMQP won't allow more, it's an unsigned short).
But this is a very rare limit to run into. Are you running into a limit
on the number of *connections* you can open? This is affected by the
number of file descriptors available to the user running RabbitMQ - for
example, on a Debian based system you'll need to edit
/etc/security/limits.conf.
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list