[Date Prev][Date Next]
Re: High volume ldap queries causing corruption in bdb backend.
--On Friday, September 19, 2003 9:13 AM -0700 Peter Johnson
I didn't create a DB_CONFIG file so everything should be at it's default
value. I'll try setting the cachesize and dbcachesize, is there
anything else I should set?
Having a DB_CONFIG file is rather important when using BDB with OpenLDAP.
Things you'll want to look at are:
For our systems (Running solaris, 4 GB of memory), I have
set_cachesize 2 0 1 (A 2GB cache, split into 0 pieces)
The set_lg directives can keep BDB from creating log files too often, not
having large enough space in memory, and, if you use slapadd, you can speed
up the time it takes to load your database by having your set_lg_dir have
the BDB logs be written to a separate disk.
Our settings are:
Howard posted a rather important note about this same topic in this thread:
Re: The speed of adding an entry is too slow
You may wish to read over what he said. You can read documentation on
these BDB settings at http://www.sleepycat.com
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html