[389-users] too many fds open

Paul Robert Marino pmarino at snap-interactive.com
Fri Aug 26 17:00:59 UTC 2011


well her is the section from that file that talks about it
# In order to make more file descriptors available
# to the directory server, first make sure the system
# hard limits are raised, then use ulimit - uncomment
# out the following line and change the value to the
# desired value
# ulimit -n 8192


if you increase both the hard and soft limit there is no reason to run 
the ulimit command keep in mind the soft limit is the default.

On 8/26/2011 12:54 PM, cfr100 at acm.org wrote:
> That is not enough. You have to update /etc/sysconfig/dirsrv
>
> Otherwise, the process will still only get 1024.
>
> On Fri, Aug 26, 2011 at 10:28 AM, Paul Robert Marino
> <pmarino at snap-interactive.com>  wrote:
>> you need to edit /etc/security/limits.conf
>> add an entry for nofile the the default is 1024 the max is 65536 (1024 *
>> 64 ) here is an extreme example setting it to the max for all users
>>
>> "
>> *               hard    nofile          65536
>> *               soft     nofile          65536
>> "
>>
>> after you have made the change log out and log back in you can use
>> "ulimit -a " to verify after you log back in
>> then restart the directory server.
> --
> 389 users mailing list
> 389-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users




More information about the 389-users mailing list