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

Re: slapd: Too many open files

--On Saturday, March 19, 2005 11:58 PM +0530 Saket Sathe <saket@cc.iitb.ac.in> wrote:

/usr/local/openldap/etc/openldap/slapd.conf: line 39: unknown directive
"cachesize" outside backend info and database definitions (ignored)
Mar 18 19:35:51 ldapworld slapd[2039]:
/usr/local/openldap/etc/openldap/slapd.conf: line 44: unknown directive
"checkpoint" outside backend info and database definitions (ignored)

This is pretty explanatory... Your cachesize and checkpoint directives come before the "database bdb" directive.

2.2.17 btw is very old, and had some serious leak issues, which is probably why it is crashing. I suggest upgrading to 2.2.24, the current stable release.


allow bind_v2
loglevel        256
pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args
cachesize       100000
concurrency     128
threads         128
sizelimit       unlimited
checkpoint      128 60

database        bdb
suffix          "dc=iitb,dc=ac,dc=in"
rootdn          "cn=Manager,dc=iitb,dc=ac,dc=in"

index objectClass                                       eq,pres
index ou,mail,surname,givenname             eq,pres,sub
index cn,employeenumber                          approx,eq,pres,sub
index uidNumber,gidNumber,loginShell    eq,pres
index uid,memberUid                                 eq,pres,sub
index nisMapName,nisMapEntry                eq,pres,sub
index mailAlternateAddress,mailHost,member,owner        eq
index uniquemember                                      pres

directory           /var/lib/openldap-2.2.17/
include             /usr/local/openldap/etc/openldap/acis

What could be the possible problem of the crash ? slapd is crashing too


-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin