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

Re: Corrupt LDAP DB ...

Quanah Gibson-Mount <quanah@stanford.edu> wrote:
> --On Friday, October 28, 2005 8:38 AM +0200 "C.Lee Taylor"
> <leet@leenx.co.za> wrote:
> > 	Started and stopped correctly, do you mean running slapd with options to
> > start and then kill -9 slapd ... Is this incorrect or is there a better
> > way to shutdown slapd?
> Using kill -9 on slapd is the same as causing an abnormal shutdown.  If you
> are using kill -9, then you are likely the cause of your data corruption.

More generally: You should *never* use -9 (SIGKILL) on *any* process
unless all other measures have failed.  SIGKILL causes the process to
be terminated without it being given the chance to exit cleanly.
Particularly for anything with persistent data store, such as a
directory service (LDAP) or database server, killing the server daemon
with SIGKILL will likely result in corrupted data.