Howard Chu wrote:
Dominik Taborsky wrote:
If anyone has any idea what might be the issue, please let me know. I know
deleting the DB from filesystem and creating a new one would work, but
that's a hack, not a fix.
Your calculation of max_pages vs used_pages is totally bogus. There's nothing
wrong with LMDB.
Also, you never reset the "k" counter, which is why you eventually get to zero
inserts per attempt, regardless of the page usage computations.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/