[rabbitmq-discuss] File descriptors slowly reaching 1024...

Jason McIntosh mcintoshj at gmail.com
Thu Aug 29 16:36:07 BST 2013


One thing to be careful of if you're going to increase your limits - RHEL
based systems (centos for example) have separate soft limits in the
following locations:
/etc/security/limits.d/90-nproc.conf
/etc/security/limits.conf

The 90-nproc.conf file has the 1024 limit for all users on a system.

Jason


On Thu, Aug 29, 2013 at 5:02 AM, Simon MacMullen <simon at rabbitmq.com> wrote:

> On 23/08/2013 1:03PM, Michael Klishin wrote:
>
>> Guillaume Vernat:
>>
>>  How to reduce used file descriptors with rabbimq 3.0.x cluster ?
>>> Master is slowly reaching 1024. Help say that it doesnt matter but
>>> I dislike this yellow color and I do prefer the green one :)
>>>
>>
> If there is a gradual increase that suggests that some client is leaking
> connections (each connection takes one FD, RabbitMQ then uses some of the
> rest for queue disk storage). Check the connections list in mgmt to see if
> anything is out of the ordinary.
>
> If there is no connection leak but you have a large number of queues then
> the number of FDs used by RabbitMQ for disk storage can be quite large -
> but this is softer; as FDs start to become scarce RabbitMQ will try to use
> fewer for disk storage.
>
>
>  Guillaume,
>>
>> You can keep fewer connections open but you really should increase
>> open file descriptors limit for the rabbitmq user instead:
>>
>> http://docs.basho.com/riak/**latest/ops/tuning/open-files-**
>> limit/#Changing-the-limit<http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/#Changing-the-limit>
>> https://cs.uwaterloo.ca/~**brecht/servers/openfiles.html<https://cs.uwaterloo.ca/~brecht/servers/openfiles.html>
>>
>
> Of course, if something is leaking connections, then increasing the limit
> will only delay the problem :-)
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, Pivotal
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>



-- 
Jason McIntosh
http://mcintosh.poetshome.com/blog/
573-424-7612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130829/31c3b3e8/attachment.htm>


More information about the rabbitmq-discuss mailing list