[rabbitmq-discuss] Changing file descriptor limit wihtout restart?

Jakov Sosic jsosic at gmail.com
Tue Sep 9 20:56:34 BST 2014

On 07/07/2014 11:35 AM, Simon MacMullen wrote:

> It's not Erlang, it's RabbitMQ. The problem is that the file handle
> cache (the component which manages file descriptors inside the broker)
> only checks the limit at startup.
> But you can tell it the limit has changed with something like:
> $ rabbitmqctl eval 'file_handle_cache:set_limit(4096).'
> This number is not validated; it's taken entirely on trust. If you tell
> the FHC that it has a larger limit than the one the OS will enforce, you
> can run out of file descriptors and crash the server.

That will increase "Network sockets count and limit managed by 
RabbitMQ". File descriptor count stays hard locked at 1024.

More information about the rabbitmq-discuss mailing list