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

Re: bdb and cache size

--On Friday, April 08, 2005 6:16 PM -0400 Mark Swanson <mark@ScheduleWorld.com> wrote:


I'd like to ensure OpenLDAP has enough cache RAM. When I use the
dbcachesize directive with the bdb backend I see it's ignored. The
manual states it may be ignored I just wanted to ask the list if there
were any best practices or suggestions for ensuring Berkeley DB is
configured optimally for use with OpenLDAP.

Did you read the man page for back-bdb?

Did you read the OpenLDAP administrators guide?

Have you read over any of the various references to the DB_CONFIG file required for correctly configuring the BDB database? :)

dbcachesize is not a valid option for back-bdb.

BTW, it is almost always faster to slapcat/slapadd than to slapindex, unless you are changing the index of only a single attribute, at which point you can comment out every other index line in your config file, run slapindex, and then uncomment the commented out indices.

You may find:

<http://www.stanford.edu/services/directory/openldap/configuration/> of some help as well.


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