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:
David,
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.
Hello,
I can confirm this is the problem I have. Starting slapd in debug mode, it dies after some time:
/tmp/buildd/openldap-2.4.43/servers/slapd/back-mdb/../../../libraries/lib lmdb/mdb.c:5276: Assertion 'NUMKEYS(mp) > 1' failed in mdb_page_search_root() /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, Jephté
Hello,
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