Re: problem with :DBERROR db4: Logging region out of m

From: Patrick Radtke (no email)
Date: Thu Jun 08 2006 - 13:05:26 EDT

  • Next message: Adrian Florin Teodor: "cryus-imap-2.2.12 crash on freebsd 6.0"

    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

    ----
    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
    

  • Next message: Adrian Florin Teodor: "cryus-imap-2.2.12 crash on freebsd 6.0"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD