[Date Prev][Date Next]
RE: Appropriate slapd.conf dbcachesize size?
- To: "Micah Anderson" <email@example.com>, <OpenLDAP-software@OpenLDAP.org>
- Subject: RE: Appropriate slapd.conf dbcachesize size?
- From: "Batchelor, Scott M" <firstname.lastname@example.org>
- Date: Thu, 19 Feb 2004 11:32:03 -0500
- Content-class: urn:content-classes:message
- Thread-index: AcP1IbMhQySfcEFKRA6c7lX7dHM86wB4+Jzw
- Thread-topic: Appropriate slapd.conf dbcachesize size?
If you are using the bdb backend for ldap the cache size is set in the
DB_CONFIG file. However just changing this to the appropriate size and
restarting the ldap server does nothing. You must set this and then run
db_recover in order for this to take effect. You may also set it at
initial directory load.
. . . . . . . . . . . . . . . .
Scott M Batchelor :
Identity Management Systems
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Micah
Sent: Tuesday, February 17, 2004 1:15 AM
Subject: Appropriate slapd.conf dbcachesize size?
>From what I've been able to find from reading mailing list archives,
the FAQ and searching online (and of course reading man pages), the
slapd.conf parameter cachesize should be set according to how many
entries you have (since I've got about 7,000 I set it to 10,000 to
allow for growth).
However, I haven't been able to figure out what the dbcachesize
parameter should be based on. I've read that it should be the size of
your .db files, but does this mean that it should be the size of all
of my .bdb files on disk added together?
Thanks for any help, and if there is some documentation I am missing,
please point me to it!