RE: openldap service stop cause database corruption

Brandon Hume <[email protected]>
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
On Thu, 2009-10-08 at 15:07 +0200, Antonini Gabriele wrote:
> I tried modifying stop script adding 30 seconds sleep after killproc but the problem remains. Here is the stop script:

That wouldn't accomplish anything... the damage occurs INSIDE killproc.

Did you time how long it takes your slapd to shut down when not using
the init scripts?  I've seen a large slapd with broken checkpointing in
a low-memory environment like yours take upwards of ten minutes to exit.

The scripts that Clément posted links to seem vastly superior to what
I've seen come stock with Redhat (and perhaps your version of CentOS).
You might want to think about using those instead.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.