https://bugs.openldap.org/show_bug.cgi?id=9806
--- Comment #1 from Howard Chu hyc@openldap.org --- (In reply to casey from comment #0)
I'm using the using latest lmdb from OpenLDAP, commit e8813b12b6188d5ba5f174ff8726c438c8ca4bfd.
I'm getting an MDB_PAGE_FULL error after calling `mdb_put`. If I delete the database and perform the same sequence of inserts, I get the same error in on the same mdb_put.
If there's any information I can provide to help debug this, let me know.
Can happen when storing records of widely varying size. You can try to workaround this by patching mdb.c, function mdb_page_split(). Search for the comment "/* Find split point */" and above it, "if (nkeys < 32". Change the 32 to a larger number, and try rebuilding the DB.