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

RE: cachesize and dbcachesize problems



Francesco,

You have to move these configurations below the part where the database
definition configuration section is. For example:

****************
# ldbm database definitions

database        ldbm
suffix          "o=cmg.nl"
rootdn          "cn=Directory Manager, o=cmg.nl"
# rootdn password (cleartext!)
rootpw          *********
# cachesize (in number of entries)
cachesize       5000
# cachesize (in bytes) for each open index file
dbcachesize     102400
*****************

Good luck,

Erik de Groot

-----Original Message-----
From: francesco tornieri [mailto:francesco.tornieri@duke.it]
Sent: 13 December 2001 12:58
To: OpenLdap List
Subject: cachesize and dbcachesize problems


I add this lines in /etc/openldap/slapd.conf:
cachesize 10000
dbcachesize 100000
But in ldap-log i find:
Dec 13 13:02:57 ldaps slapd[25448]: /etc/openldap/slapd.conf: line 6:
unknown
directive "cachesize" outside database definition (ignored)
Dec 13 13:02:57 ldaps slapd[25448]: /etc/openldap/slapd.conf: line 7:
unknown 
directive "dbcachesize" outside database definition (ignored)
Why?Have u any ideas?
Francesco