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

Re: LDAP hangs requiring slapd stop and deleting __db.00* files

> The fact that you are deleting the BDB environment files (The __* stuff)
> suggests some type of corruption.  db_recover will correctly close those
> files out (and remove them).  Deleting them manually is not a wise path
> to take.

Right... In my case, at least, the files become corrupt, ldap hangs on the
corrupt files, slapd_db_recover will recover from the corruption, then,
slaptest recreates these files with incorrect ownership, I fix the
ownership, and start slapd, and things are back to normal until next

The bigger question in my mind is why were things getting corrupted in the
first place.  However, since implementing the ldlcache recommended and
upgrading to 2.2.24 (I don't know which of these actions resolved the
I've run much longer than ever before without things freezing (about 3
We'll see how long it lasts.


If it wasn't crypto-signed, it probably didn't come from me.

Attachment: pgpsH5asNT3Rs.pgp
Description: PGP signature