[Dovecot] Expire-Plugin segmentation fault (Re: Can expire-tool skip folders with "expire time in future" errors?)

reg9009 reg9009 at yahoo.de
Tue Jun 16 22:40:42 EEST 2009


Timo Sirainen schrieb:
> On Thu, 2009-06-04 at 22:02 +0200, Ralph Seichter wrote:
>   
>> Sorry for replying so late, the server running Dovecot succumbed to a
>> hardware problem. Now that the machine is online again, I applied your
>> patch. Running the expire tool now causes the following log messages:
>>
>>   dict: db(secondary, ): DB->set_cachesize: method not permitted when environment specified
>>   dict: db(secondary, ): unable to allocate space from the buffer cache
>>   dict: sdb.open() failed: Cannot allocate memory
>>     
>
> I'm beginning to think it was a mistake to ever put Berkeley DB code to
> Dovecot. SQLite would work just as well (and without problems), right?
>
>   
my 2 cent:

Berkeley DB is one of the main reasons why we started to look at (great)
alternatives like dovecot instead of cyrus. It's really a pain in the
.... with Berkeley. Ask the OpenLDAP guys about the bdb backends and
system crashes. Why bother with all the DB_CONFIG and checkpoint and
whatever settings, when you can have all comfort of SQL with great
speed, simpleness and self recovery of SQLite. The point of self
recovery is one of the most great advantages of dovecot, really. BDB is
acting opposite to it... :)

And is it a lot easier to get some data out in case of investigations,
debugging, backup, etc.

Regards,
Sebastian



More information about the dovecot mailing list