DB Errors

Daniel Hazelbaker daniel at highdesertchurch.com
Thu Apr 21 18:05:31 EDT 2005


(Apologies if this is a duplicate, had some subscription issues and not 
sure if the first one went)

Greetings.  For about 2 months now I have been having a lot of problems 
with my Cyrus delivery system.  I keep getting DB errors of various 
types. Sometimes I get region size errors, other times full corruption, 
and a few others.  I have tried deleting deliver.db, tls_sessions.db, 
the db directory, all together, etc.  When I do so the errors stop for 
maybe 3 days and then start again.  Usually in the morning when I come 
in I am getting the errors, but occasionally it happens in the middle 
of the day.  Here is what I am currently running.

YDL 4.0 (This started a month or two after upgrading to YDL 4.0, can't 
say if it is related)
cyrus-imapd 2.2.10 (release 3.yd4)
cyrus-sasl 2.1.18 (release 2.2)
db4 4.2.52 (release 3.1.ydl.1)
compat-db 4.1.25 (release 2.1)

If there is any other information I can give, please let me know.  The 
situation is getting bad, we are having to "service cyrus-imapd 
restart" almost every morning (doing so fixes the problem until the 
next morningish time).

Daniel Hazelbaker
Network Administrator
High Desert Church

Snip of /var/log/maillog

Apr 21 11:53:06 kempis master[29372]: about to exec 
/usr/lib/cyrus-imapd/lmtpd
Apr 21 11:53:06 kempis lmtpunix[29372]: executed
Apr 21 11:53:06 kempis lmtpunix[29372]: DBERROR db4: Logging region out 
of memory; you may need to increase its size
Apr 21 11:53:06 kempis lmtpunix[29372]: DBERROR: opening 
/var/lib/imap/deliver.db: Cannot allocate memory
Apr 21 11:53:06 kempis lmtpunix[29372]: DBERROR: opening 
/var/lib/imap/deliver.db: cyrusdb error
Apr 21 11:53:06 kempis lmtpunix[29372]: FATAL: lmtpd: unable to init 
duplicate delivery database
Apr 21 11:53:06 kempis master[22843]: process 29372 exited, status 75
Apr 21 11:53:06 kempis master[22843]: service lmtpunix pid 29372 in 
READY state: terminated abnormally
Apr 21 11:53:06 kempis master[29373]: about to exec 
/usr/lib/cyrus-imapd/lmtpd
Apr 21 11:53:06 kempis lmtpunix[29373]: executed
Apr 21 11:53:06 kempis lmtpunix[29373]: DBERROR db4: Logging region out 
of memory; you may need to increase its size
Apr 21 11:53:06 kempis lmtpunix[29373]: DBERROR: opening 
/var/lib/imap/deliver.db: Cannot allocate memory
Apr 21 11:53:06 kempis lmtpunix[29373]: DBERROR: opening 
/var/lib/imap/deliver.db: cyrusdb error
Apr 21 11:53:06 kempis lmtpunix[29373]: FATAL: lmtpd: unable to init 
duplicate delivery database
Apr 21 11:53:06 kempis master[22843]: process 29373 exited, status 75
Apr 21 11:53:06 kempis master[22843]: service lmtpunix pid 29373 in 
READY state: terminated abnormally
Apr 21 11:53:06 kempis master[29374]: about to exec 
/usr/lib/cyrus-imapd/lmtpd
Apr 21 11:53:06 kempis lmtpunix[29374]: executed
Apr 21 11:53:06 kempis lmtpunix[29374]: DBERROR db4: Logging region out 
of memory; you may need to increase its size
Apr 21 11:53:06 kempis lmtpunix[29374]: DBERROR: opening 
/var/lib/imap/deliver.db: Cannot allocate memory
Apr 21 11:53:06 kempis lmtpunix[29374]: DBERROR: opening 
/var/lib/imap/deliver.db: cyrusdb error
Apr 21 11:53:06 kempis lmtpunix[29374]: FATAL: lmtpd: unable to init 
duplicate delivery database
Apr 21 11:53:06 kempis master[22843]: process 29374 exited, status 75
Apr 21 11:53:06 kempis master[22843]: service lmtpunix pid 29374 in 
READY state: terminated abnormally
Apr 21 11:53:06 kempis master[29375]: about to exec 
/usr/lib/cyrus-imapd/lmtpd
Apr 21 11:53:06 kempis lmtpunix[29375]: executed
Apr 21 11:53:06 kempis lmtpunix[29375]: DBERROR db4: Logging region out 
of memory; you may need to increase its size
Apr 21 11:53:06 kempis lmtpunix[29375]: DBERROR: opening 
/var/lib/imap/deliver.db: Cannot allocate memory
Apr 21 11:53:06 kempis lmtpunix[29375]: DBERROR: opening 
/var/lib/imap/deliver.db: cyrusdb error
Apr 21 11:53:06 kempis lmtpunix[29375]: FATAL: lmtpd: unable to init 
duplicate delivery database
Apr 21 11:53:06 kempis master[22843]: process 29375 exited, status 75
Apr 21 11:53:06 kempis master[22843]: service lmtpunix pid 29375 in 
READY state: terminated abnormally

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