problem with cyrus and DB4

Igor Brezac igor at ipass.net
Tue Aug 24 09:36:18 EDT 2004


On Tue, 24 Aug 2004, Eric Doutreleau wrote:

> hi
>
> i m using cyrus2.2.8 and berkeley DB 4.2.52 on a Fedora core 2 machine
> and i have the following problem.
> i always got the message in my cyrus logfile
> Aug 23 04:36:14 molure lmtp[29038]: DBERROR db4: 1326 lockers
> with the number increasing and not really decreasing.
> I have seen in the archive of the list that there s a bug with some
> version of the db4 library and that the number is not reliable.
>
> is the bug still present in db4?

There used to be a bug in the cyrus code, it is fixed now.

Make sure to apply all patches to berkeley DB 4.2.52.
Start cyrus (master) from configdirectory.

Is it possible that your imapd/lmptd processes are terminating 
prematurely?

>
> Worse from time to time i got the following error
> Aug 23 04:55:25 molure lmtp[29514]: DBERROR db4: Logging region out of
> memory; you may need to increase its size
> Aug 23 04:55:25 molure lmtp[29514]: DBERROR: opening
> /var/lib/imap/deliver.db: Cannot allocate memory
> Aug 23 04:55:25 molure lmtp[29514]: DBERROR: opening
> /var/lib/imap/deliver.db: cyrusdb error
>
> and the delivery doesn't work anymore.
>
> I just restart cyrus and it s ok.
>
> Should i delete too the deliver.db database?
>
> Here is my DB_CONFIG file
> set_cachesize 0 8192000 1
> set_lg_regionmax 2097152
> set_lg_bsize 2097152
>
> is it ok?
>
> Thanks in advance for any help
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>

-- 
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list