How to Increase File Descriptors for 389 Directory Server

389This post will share with you on how to increase file descriptor on 389 Directory Server. The steps should be similar either in CentOS or Redhat Enterprise server. 389 Directory Server is an enterprise-class open source LDAP server for Linux. It is based on Fedora Directory Server.

1. Edit the /etc/sysconfig/dirsrv file and add the following line :

ulimit -n 8192

2. Increase nsslapd-maxdescriptors value. Assumed that directory instance was configured as slapd-centos62 :

[root@ldap ~]# vi /etc/dirsrv/slapd-centos62/dse.ldif

Add the following :

nsslapd-maxdescriptors: 8192

3. Restart dirsrv service to apply changes :

[root@ldap ~]# service dirsrv stop
Shutting down dirsrv:
    centos62...                                            [  OK  ]
[root@ldap ~]# service dirsrv start
Starting dirsrv:
    centos62...                                            [  OK  ]
Leave a Reply

Your email address will not be published. Required fields are marked *

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.


* up to 30 days money back guarantee