[rabbitmq-discuss] gradual increase of File descriptors reaching-1024 (max limit)

Matthias Radestock matthias at rabbitmq.com
Tue May 13 17:16:59 BST 2014


On 13/05/14 17:05, Michael Klishin wrote:
> On 13 May 2014 at 19:57:30, Jay G (njay3585 at gmail.com) wrote:
>>> What is the possible reason for this gradual increase?
>
> Use lsof and netstat to see what file descriptors/sockets the process has open.
>
>> Is there a way to find out if there is a connection leak?
>
> netstat and RabbitMQ management UI will help you tell if the number of connections
> is growing.
>
> It can also be your apps using more queues or vhosts.

Note also that rabbit will happily use as many file descriptors as it 
can get its hands on, if it thinks that will improve performance. It 
will make room for socket connections as necessary, by closing some 
descriptors for files. So getting close to the limit isn't necessarily 
an indication of a problem. What does the management UI say about the 
available *socket* descriptors?

Matthias.



More information about the rabbitmq-discuss mailing list