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

Re: HELP: Continuing Openldap Database Corruption!



That is an excellent explanation. Since this is so easily calculated, why not include this either:

a) As part of the openldap daemon, such that if db type = bdb, on startup openldap runs db_stat -m, calculates teh appropriate values, checks that a the system has mem*2 or something, and generates a DB_CONFIG. This could even be a options in slapd.conf (i.e. AUTOTUNE_BDB = 1)

b) As an included shell script (i.e. openldap_bdb_tune)?

Thank you for all the help.

Lee

I have the cache set to 15MB. Besides using 15MB of memory, is there any down side to it being this big (i.e. if the cache is huge does performance degrade b/c it takes longer to search the entire cache)?


On Dec 16, 2003, at 8:54 AM, Andreas wrote:

On Tue, Dec 16, 2003 at 08:38:23AM -0500, Frank Swasey wrote:
Check with db_stat -m if it is enough. Also remember that, if this file
is created after the database, this setting has no effect.

but a db_recover is sufficient to rebuild the environment so it does take effect.

Check out this excellent post by Howard:

http://www.openldap.org/lists/openldap-software/200311/msg00469.html