On Fri, 2008-12-19 at 20:22 +0100, LÉVAI Dániel wrote:
Error: dict: db_env: Unable to allocate memory for transaction detail Error: dict: Failed to initialize dictionary 'expire'
This should help: http://hg.dovecot.org/dovecot-1.1/rev/7200ae88984b
Although when stress testing with dict quota (which isn't really even supposed to work correctly with bdb, but anyway) it still gives me these once in a while:
Error: dict: db(secondary, tss): /tmp/quota.db: DB_SECONDARY_BAD: Secondary index inconsistent with primary
But it seems to fix that automatically and I couldn't really figure out how to fix it. Unless perhaps I should be doing locking somehow explicitly. I can't seem to find usable documentation for bdb.
Also the dict proxy pretty stupidly opens the bdb file multiple times inside the same process, even though it could simply be creating new transactions. Too much trouble to fix right now.