On 10/17/05, Febo Aristots <[EMAIL PROTECTED]> wrote: > > >From: Febo Aristots <[EMAIL PROTECTED]> > >Date: Oct 17, 2005 6:16 PM > >Subject: db4 problems with cyrus 2.1.16 > >To: info-cyrus@lists.andrew.cmu.edu > > >I have had a bad problem with a seemingly corrupted mailboxes.db with > cyrus-imap 2.1.16 > > I seem to have solved the problem this way: > > - stopping cyrus > - I deleted tls_session.db and deliver.db > - I used ctl_mboxlist -d to convert mailboxes.db into text form > - deleted mailboxes.db and /var/imap/db/* > - recreated mailboxes.db with ctl_mboxlist -u < textformfile > - restarting cyrus
The BerkeleyDB code in cyrus-imapd has a number of issues that I've never been able to work out fully. I ended up switching to skiplist (despite of its performance penalty for random lookups) which pretty much solved all my problems. I'd recommend that you look at doing the same. -- Huaqing Zheng Beer and Code Wrangler at Large ---- 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