[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapd runs out of open files (ITS#2813)

Full_Name: Ragnar Wisløff
Version: 2.0.27
OS: GNU/Debian Linux Stable
URL: http://bugs.skolelinux.no/show_bug.cgi?id=514
Submission from: (NULL) (

In an installation using the Debian Woody derivative Skolelinux we have once
seen slapd report in the syslog messages similar to this:

tjener slapd[353]: warning: cannot open /etc/hosts.deny: Too many open files

Other files were also mentioned. We checked that this was not a file-max/file-nr
issue. Until slapd was restarted no users could log in. Restarting slapd cured
the problem. This situation has only occurred once. The system has about 800 -
1000 users, with typically around 500 active users being authenticated by the
OpenLDAP server at a time when the problem occured. OpenLDAP is used mainly for
authentication of Linux and Windows (Samba 2) users.