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

Re: Open LDAP performance tuning

Is using db_config essential or can i just due the performance tuning through slapd.conf?

Quanah Gibson-Mount <quanah@stanford.edu> wrote:

--On Tuesday, September 13, 2005 12:13 PM -0700 Moe 

> For using db_stat, Should the DB_HOME environment variable be pointing to
> db-4.3.28.NC or to /usr/local/var/openldap-data/ ?. Should i use DB_ENV
> to open a Berkeley DB environment before using db_stat?
> I'm in production and i would like to know if there is a risk in playing
> with this. I have openldap 2.2.28 with berkeley db 4.3.28.

The DB Home environment is wherever you have deployed your database, so 
most likely /usr/local/var/openldap-data/.

If you had no DB_CONFIG file, creating one and setting stuff in it will not 
have any effect until you:

Shut down the slapd process
run db_recover
Start the slapd process

Do *not* run db_recover while slapd is running.


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

Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort.