Doing a ctl_mboxlist -u is very I/O intensive, so, if you have the ability to use a memory based filesystem do do the conversion on then use it. On Solaris our /tmp is such a FS, so we used ctl_mboxlist -u -f /tmp/mailboxes.db < /tmp/mailboxes.tmp to do the conversion and it took around 10 minutes, doing it on a "normal" FS looked like it was going to take 2-3 hours. We have around 34,800 entries in our mailboxes.db file.
Needless to say, you must do this with cyrus down... -chris On Monday, February 4, 2002, at 12:01 PM, Connie S. Fensky wrote: > You need to do a ctl_mboxlist -d to a mailboxes.tmp file (from the > existing > mailboxes.db). Then, after recompiling the code, use the new > ctl_mboxlist -u > to upload that tmp file back to the mailboxes.db file! > This took a long time on my box (4MB mailboxes.db file, but on HP-UX), > but > on someone else's Solaris box it was very quick. > Hope this helps > c* > > ----- Original Message ----- > From: "John C. Amodeo" <[EMAIL PROTECTED]> > To: "Cyrus Listserv" <[EMAIL PROTECTED]> > Sent: Monday, February 04, 2002 9:58 AM > Subject: DB vs. Flat File > > >> Greetings, >> >> How much is involved in recompiling a current Cyrus production system >> that has been using db3 for about a year to a flat file system? Is >> there any conversion or reconstruction that needs to take place? Can >> you simply re-compile Cyrus, install the exe's and restart the master? >> >> I am hoping this may fix some problems with Imap/Lmtp locking problems. >> >> -John >> >> >> > > Chris Peck Manager of Unix Services Information Technology The College of William and Mary Williamsburg, VA 23187