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

Re: openldap 2.4.43 keeps crashing

Le 30/12/2015 23:13, Jephte Clain a écrit :
2015-12-30 22:51 GMT+04:00 Quanah Gibson-Mount <quanah@zimbra.com>:
--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. ;)
Hmmm... I really need some holidays... I couldn't manage to find the
commit today (too tired?) and now I remember grep is my friend

$ git checkout mdb.master
$ git log --pretty=oneline | grep 8336
58d1fd4c73c96ef3097816e975b3d421ead4d86e ITS#8336 fix page_search_root
assert on FreeDB

I'll have a look tomorrow. Thanks. Regards,


It has been working for several days without crashing
So I guess the patch is working for me.

Many thanks to everyone that helped me. Have a nice day, regards,
Jephté CLAIN

*Jephté CLAIN | Développeur, Intégrateur d'applications*
Service Systèmes d'Information
Direction des Systèmes d'Information <http://dsi.univ-reunion.fr>
Tél: +262 262 93 86 31 <tel:+262262938631> || Gsm: +262 692 29 58 24 <tel:+262692295824> www.univ-reunion.fr <http://www.univ-reunion.fr> || Facebook <http://www.facebook.com/pages/Universit%C3%A9-de-La-R%C3%A9union-OFFICIEL/197176816990430> || Twitter <http://twitter.com/univ_reunion>