
This 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 ]