RabbitMQ can run out of file descriptors

Got this helpful log message after complains things weren’t working:

=WARNING REPORT==== 12-Aug-2016::07:16:55 ===
file descriptor limit alarm set.

********************************************************************
*** New connections will not be accepted until this alarm clears ***
********************************************************************

 

Found this:

https://bugs.launchpad.net/fuel/+bug/1279594

 

need to adjust /etc/defaults/rabbitmq-server

Uncomment

#ulimit -n 1024

Change it to

ulimit -n 102400

Restart rabbit.