[Pkg-openldap-devel] Bug#673038: Bug#673038: slapd: slapcat output truncated every now and then

Steve Langasek vorlon at debian.org
Sun Jun 17 02:30:41 UTC 2012


Hi Axel,

On Tue, May 15, 2012 at 06:33:57PM +0200, Axel Beckert wrote:
> Every now and then slapcat's output does not contain the whole content
> of the LDAP but is truncated at some LDIF entry border (i.e. all printed
> LDIF records seem complete).

> To reproduce run "while sleep 1; do slapcat | wc; done" on a moderately
> busy LDAP server (writes every few seconds to minutes; about 10000
> entries) while slapd is running and notice the occasionally occurring
> huge change in wc's printed values,

> According to the slapcat man page it should be "always safe to run
> slapcat with the slapd-bdb(5) ... backends" even if slapd runs. We do
> use a BDB backend.

Note that the HDB backend is the one recommended upstream and the Debian
default.  Is this issue reproducible with HDB, or only with BDB?

Can you reproduce this issue with the slapd 2.4.28 package in wheezy?

Are there any noteworthy commonalities in the entries that are being
dropped?  Or perhaps commonalities in the last entries that are being
printed?  (Assumes that there is some consistent ordering to the output,
which of course may not be the case)

Would you be able to provide a minimal test configuration (/etc/ldap/slapd.d
and LDIF of a directory, plus BDB DB_CONFIG file) that could be used to
reproduce this?

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20120616/c4df09f5/attachment.pgp>


More information about the Pkg-openldap-devel mailing list