$ tail -f /var/log/messages Oct 29 13:18:30 slapd[14761]: warning: cannot open /etc/hosts.allow: Too many open files Oct 29 13:18:30 slapd[14761]: warning: cannot open /etc/hosts.deny: Too many open files Oct 29 13:18:30 slapd[14761]: warning: cannot open /etc/hosts.allow: Too many open files Oct 29 13:18:30 slapd[14761]: warning: cannot open /etc/hosts.deny: Too many open files
OpenLDAPでは同時オープンできるファイル数の上限が、デフォルト:1024ですので、以下のように変更することで、解消できます。
# vi /etc/sysconfig/ldap # Parameters to ulimit, use to change system limits for slapd #SLAPD_ULIMIT_SETTINGS="" ####ココ old SLAPD_ULIMIT_SETTINGS="-n 2048" ####ココ new # service slapd restart
以上