[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
difficulties to stop slapd
- To: openldap-technical@openldap.org
- Subject: difficulties to stop slapd
- From: LALOT Dominique <dom.lalot@gmail.com>
- Date: Wed, 20 Apr 2011 09:28:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=9ftQbAUk7aY1V/mRzgRg6FiD/1tXVkvJQ6rcTeU70i4=; b=L5PTGL05soxUlgp9UkwFHcKYtwrG7ttXELRxFDj9/AEjbNSyTS5A5/qIKGc9mEqQSc iTv93zbHSdco/x9Y+5SRab+jHD7FSaKRT3RLMhe4wSc2DnHbDZd7wzqLQaVHFw8Jd1sl BOn45NbNdVxLijlhe3dJcgvEAZom+aWCPzQ1A=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=aUBaileIN7KqdWXG2NCA2b89IKv2tzL43Ecnvafvd3Anjvr6R00oKGQ9US2pro1OuF PzdIU1EfOukAeZXcYi6ZDvaUX90h2yf8h6mLJGuQ4ThoE2hhr8rhwKYOiWxZQdLoHM0Q Ik2JxhUGvSNo4p0ymDZ9TohFJk3RecMZDS2iI=
Hello,
Our openldap is sometimes long to stop and init scripts failed to stop.
Apr 20 09:10:47 ldap1 slapd[15105]: daemon: shutdown requested and initiated.
Apr 20 09:10:47 ldap1 slapd[15105]: slapd shutdown: waiting for 0 operations/tasks to finish
Apr 20 09:12:46 ldap1 slapd[15105]: slapd stopped.
It tooks 2 minutes to stop. So the init scrit failed and restart is not safe. An auto update on ubuntu leaves slapd in a strange state once and the cause was that long wait for 0 task to finish. Normaly, zero means immediate. Here two minutes!
We have 5 glued bdb databases. Is it due to the bdb close for these databases? Is there a way to get things more reliable
OpenLDAP: slapd 2.4.23 (Mar 30 2011 16:20:41) $ ^Ibuildd@crested:/build/buildd/openldap-2.4.23/debian/build/servers/slapd
Description: Ubuntu 10.10
2.6.35-27-server #48-Ubuntu SMP Tue Feb 22 21:53:16 UTC 2011 x86_64 GNU/Linux
libdb-4.8.so
Thanks
Dom
--
Dominique LALOT
Ingénieur Systèmes et Réseaux
http://annuaire.univmed.fr/showuser.php?uid=lalot