problem with :DBERROR db4: Logging region out of m

Patrick Radtke phr2101 at columbia.edu
Thu Jun 8 13:05:26 EDT 2006


On Jun 8, 2006, at 7:28 AM, Marek Must wrote:

> Jun  8 14:04:48 mail lmtpunix[13729]: DBERROR db4: Logging region  
> out of memory; you may need to increase its size
> Jun  8 14:04:48 mail lmtpunix[13729]: DBERROR: opening /var/lib/ 
> imap/deliver.db: Cannot allocate memory
> Jun  8 14:04:48 mail lmtpunix[13729]: DBERROR: opening /var/lib/ 
> imap/deliver.db: cyrusdb error
>
>
> i come to this problem all the time, and i seem not geting any  
> solotion..
>
> if i restart postifx then all fall into place and it will work for  
> couple of houers an then i hve to restart posfix again..
>
> using cyrus-imapd-2.2.12-3.RHEL4.1.
>
> can i dont anything or can i only make aliases for restarting  
> postfix and stuf?:)
>
> Marek



Not sure what you've tried, but here are some options:

1. Switch the deliver.db (or possibly others) to skiplist

2. Have you tried creating a DB_CONFIG file in the db directory?

something like
db_stat -l -h /var/cyrus/db
will tell you stats about logging

in the DB_CONFIG you could have stuff like
set_cachesize 0 8388608 8
#the line below sets the size of the logging region
set_lg_regionmax 524288
set_lg_bsize 2097152

you need to run db_recover to make changes in your DB_CONFIG take  
affect.
cachesize is how large you want the DB to be

-Patrick



More information about the Info-cyrus mailing list