lmtpunix: DBERROR db4: Logging region out of memory; you may need to increase its size

Bron Gondwana brong at fastmail.fm
Fri Sep 19 20:15:34 EDT 2008

On Fri, Sep 19, 2008 at 03:05:37PM -0400, Adam Tauno Williams wrote:
> > I got no answer on this subject, does someone has a suggestions, or 
> > maybe should I give more details ?
> Possibly create a DB_CONFIG file in the db directory and restart Cyrus?
> I ***ASSUME*** that Cyrus will honor the settings in the DB_CONFIG file.
> (?)
> <http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html>
> This is a common issue with somewhat older versions of OpenLDAP when
> mixed with admins who refuse to read the documentation.  But I've never
> encountered it with Cyrus.

This is the what we put in DB_CONFIG at FastMail:

$ cat $cyrushome/db/DB_CONFIG
set_cachesize 0 2097152 1
set_lg_regionmax 2097152
set_lg_bsize 2097152
set_lg_max 4194304
set_tx_max 200
set_tas_spins 1

(off the top of my head, I don't have a clue how sane those values are -
we don't use berkeley for much, and I didn't write the config file!)


More information about the Info-cyrus mailing list