[Date Prev][Date Next]
Re: openldap service stop cause database corruption
Brandon Hume wrote:
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.
The behaviour has allegedly been fixed in Fedora, and a bug report was
filed with RHEL today: