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

Re: openldap 2.4.43 keeps crashing

--On Wednesday, December 30, 2015 10:36 PM +0400 Jephte Clain <jephte.clain@univ-reunion.fr> wrote:

2015-12-29 20:47 GMT+04:00 Quanah Gibson-Mount <quanah@zimbra.com>:
--On Monday, December 28, 2015 10:18 PM -0800 Quanah Gibson-Mount
<quanah@zimbra.com> wrote:


Why haven't you reported this to the ITS?

Discussed with Howard.  It isn't in 0.9 yet because it hasn't been
confirmed if the fix is good or not.  David, if that fix has resolved
the issue, *please* follow up with the ITS noting that to be the case.


I can confirm this is the problem I have. Starting slapd in debug
mode, it dies after some time:

lmdb/mdb.c:5276: Assertion 'NUMKEYS(mp) > 1' failed in
/usr/local/slaptools/lib/functions: line 44: 30232 Abandon
    /usr/sbin/slapd -h "$SLAPD_SERVICES" -g "$SLAPD_GROUP" -u
"$SLAPD_USER" -F "$SLAPDD" -d "$dlevel" "$@"

I didn't notice it because it doesn't dump core. And somehow, the
initscript I use eats the stderr output of slapd (I'll fix it for
future errors)

For now, I'll revert to the previous working version, but I'm willing
to test any fix
The funny part is only the replica dies regularly, not the master
although it is the one to receive the writes

You can apply the patch that was made to mdb.master to the 2.4.43 source tree, and see if it resolves the problem or not. ;)



Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
Zimbra ::  the leader in open source messaging and collaboration