tls_prune DBERROR

Janos Dohanics web at 3dresearch.com
Fri Dec 29 08:23:53 EST 2017


Hello,

I have cyrus-imapd24-2.4.18_4 running on FreeBSD 11.0-STABLE.

I got these error messages in the log file:

Dec 29 04:00:00 cortina tls_prune[29126]: DBERROR db5: pthread suspend failed: Invalid argument
Dec 29 04:00:00 cortina tls_prune[29126]: DBERROR db5: BDB0061 PANIC: Invalid argument
Dec 29 04:00:00 cortina tls_prune[29126]: DBERROR: critical database situation
Dec 29 04:00:03 cortina ctl_cyrusdb[29128]: DBERROR db5: BDB0060 PANIC: fatal region error detected; run recovery
Dec 29 04:00:03 cortina ctl_cyrusdb[29128]: DBERROR: critical database situation
Dec 29 04:00:05 cortina cyr_expire[29127]: DBERROR db5: BDB1581 File handles still open at environment close
Dec 29 04:00:05 cortina cyr_expire[29127]: DBERROR db5: BDB1582 Open file handle: /usr/local/imap/db/__db.001
Dec 29 04:00:05 cortina cyr_expire[29127]: DBERROR db5: BDB1582 Open file handle: /usr/local/imap/db/__db.002
Dec 29 04:00:05 cortina cyr_expire[29127]: DBERROR db5: BDB1582 Open file handle: /usr/local/imap/db/__db.003

Cyrus is configured to use skiplist:

# file /usr/local/imap/*.db            
/usr/local/imap/annotations.db:  Cyrus skiplist DB
/usr/local/imap/deliver.db:      Cyrus skiplist DB
/usr/local/imap/mailboxes.db:    Cyrus skiplist DB
/usr/local/imap/statuscache.db:  Cyrus skiplist DB
/usr/local/imap/tls_sessions.db: Cyrus skiplist DB

I suppose I shut down cyrus and do "ctl_cyrusdb -r", correct?

Anything I could do to prevent this error from occurring again?

-- 
Janos Dohanics


More information about the Info-cyrus mailing list