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

RE: openldap service stop cause database corruption

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.