[Dovecot] Error: dict: Failed to initialize dictionary 'expire'

Timo Sirainen tss at iki.fi
Fri Jan 9 20:18:57 EET 2009


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090109/52ae5072/attachment.bin 


More information about the dovecot mailing list