cyrus-imapd 2.2 db3 or db4?

Patrick Morris pmorris at wilshire.com
Tue May 6 17:32:33 EDT 2003


The tough part was recompiling the imapd package.  After that, it was 
dirt-simple, and took under a minute:

/etc/init.d/imap stop
su - cyrus
cd /var/imap
rm -rf db
rm delivery.db
rm tls_sessions.db
cvt_cyrusdb $PWD/mailboxes.db db3 $PWD/mailboxes.skiplist skiplist
mv mailboxes.db mailboxes.db.db3
cp mailboxes.skiplist mailboxes.db
exit
/etc/init.d/imap start

Andrew Brink wrote:

>Is it easy to switch from a regular db4 environment to a skiplist one?
>If so, what steps do you need to take? 
>
>-----Original Message-----
>From: Patrick Morris [mailto:pmorris at wilshire.com] 
>Sent: Tuesday, May 06, 2003 4:04 PM
>Cc: Ken Woodhams; info-cyrus at lists.andrew.cmu.edu
>Subject: Re: cyrus-imapd 2.2 db3 or db4?
>
>
>I had some major problems with mailboxes.db and delivery.db and db4 
>under Solaris 9.  Usually within about an hour or so of startup I'd 
>start seeing corruption in them.  Moving to skiplist solved the problem,
>
>though -- I didn't attempt relinking against db3.
>
>The old 2.0 system under db3 and Solaris 8 was solid as rock -- two 
>years of heavy usage with no database corruption ever.
>
>Henrique de Moraes Holschuh wrote:
>
>  
>
>>On Tue, 06 May 2003, Ken Woodhams wrote:
>> 
>>
>>    
>>
>>>Hi. I just wanted to get a general consensus from current 2.2
>>>users. What has your experience been with Sleepcat DB3 and DB4? 
>>>Which one would you recommend using and why? I was leaning 
>>>towards DB3 since it's been around for a while (more experience 
>>>and stable?) but I was curious to know if there are any 
>>>performance or security gains with using DB4. 
>>>   
>>>
>>>      
>>>
>>We have a very modest system with about 1000 users, 5 pop3 logins per 
>>second, a few concurrent imap logins from the webmail system.
>>
>>Using DB3.2, we NEVER had any problem whatsoever. no lockers, no hangs,
>>    
>>
>
>  
>
>>nothing.
>>
>>I am not switching the Debian Cyrus packages to DB4 until I am forced 
>>to do so :)  too many nightmare stories for my tastes.
>>
>> 
>>    
>>
>>
>
>  
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4289 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030506/e530358d/smime.bin


More information about the Info-cyrus mailing list