[rabbitmq-discuss] Generally known configuration for open file descriptor limits

Dave Greggory davegreggory at yahoo.com
Tue Sep 21 13:42:06 BST 2010

What do you recommend setting the system wide and rabbitmq user's hard and soft limits for open file descriptors?

This is on a production RabbitMQ cluster (2 disk nodes). We currently have about 100 connections to the cluster (not necessarily balanced between nodes). Machines have 2.5 gb and RabbitMQ allocated about 993 MB for itself. Since the cluster is very low volume currently the a Rabbit node's memory usage stays around 30-50 MB. Consumers are pretty fast so there's hardly any messages waiting in queues. 

Rabbitmq user has the default hard/soft limit of 1024 currently. Given the above environment and adding a quite a bit of room to spare, what is a generally acceptable limit? 

Over the next 6 months to an year this will become a very high volume environment with lot of messages waiting in queues and probably over 1000 connections. When we scale up, what should watch for as an indication that we need to increase open file descriptor limits?

More information about the rabbitmq-discuss mailing list