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

Re: Slapd (OpenLDAP v2.3.11) Hangs Using 100% CPU Upon Start Up

--On Tuesday, November 15, 2005 10:54 AM -0800 Rik Herrin <rikherrin@yahoo.com> wrote:
OpenLDAP 2.3 *automatically* recovers the database. By running
manually in addition to the slapd startup doing it, you are likely
corrupting your database.

Please keep replies to the list.

Actually, I ran db_recover after stopping slapd and after I noticed that
slapcat was trying to recover the database but entering an infinite loop
instead.  Since I know the db directories, should I try to replace
slapd_db_revover2.3 with db_recover in ldap2.3 instead  of is
slapd_db_recover2.3  of any use?

The point here is, you should not be running db_recover at all. OpenLDAP 2.3.11 does this for you automatically anytime the database needs it. I suggest you don't use any instance of db_recover at all. It sounds like slapcat might have a bug in how it recovers the database after you ran db_recover manually.

In any case, just stop using any form of db_recover. It isn't necessary in the majority of use cases. And you really shouldn't db_recover before running slapcat.


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