[Date Prev][Date Next]
Re: BDB memory cache problem
-----BEGIN PGP SIGNED MESSAGE-----
Szuts Attila wrote:
| On Fri, Dec 03, 2004 at 02:32:51PM +0100, Luca Scamoni
|>Do you run db_recover after system crash before starting OL?
| Before starting OL?
| My OL starts from /etc/init.d/slapd srcipt and never run db_recover.
| Is it correct if I make a shell script that always run
| db_recover on all BDB databases before OL starts?
BTW, IIRC, your original OpenLDAP packages that shipped with your
distribution *did* do this, erring on the side of safety ...
(in 10.1, recovery is only run in start(), not stop() and restart()).
And, IMHO, you shouldn't need to worry about running this on production
servers ... better to lose a bit on performance and be sure the DB comes
up correctly ...
| There was discussion on devel list about it:
| I've read it. It suggest: run db_recover before any slapd instance starts.
| I've always set checkpoint 10 2
| in slapd.conf. (I work with very small user data.)
Buchan Milne Senior Support Technician
Obsidian Systems http://www.obsidian.co.za
B.Eng RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----