Well, i'm currently in the process of migrating many mboxes (1TB total) into zimbra's mail format.
After reading and investigating I got to know imapsync, which is supposed to be the best way for migrating user's mail. So I decided to give it a try with my own mailbox, whose size is 1.4GB.
The first imapsync I've launched throwed these statistics (the last 3 lines are the output of time):
++++ Statistics ++++
Time : 8000 sec
Messages transfered : 74163
Messages skipped : 0
Total bytes transfered : 1446676706
Total bytes skipped : 0
Total bytes error : 56010292
Detected 9 errors
Please, rate imapsync at imapsync | freshmeat.net
real 133m20.374s
user 8m20.417s
sys 0m27.247s
133 minutes for the first imapsync looked like veeery slow. But I was shocked when, 4 hours after and without any load on Servers I resynced again both imap's (remember they were synced 4 hours ago and they only have 40 mails for transfer).
I then got these horrible results:
++++ Statistics ++++
Time : 17063 sec
Messages transfered : 404
Messages skipped : 73774
Total bytes transfered : 4771170
Total bytes skipped : 1441129069
Total bytes error : 56010292
Detected 9 errors
Please, rate imapsync at imapsync | freshmeat.net
real 284m22.895s
user 11m18.068s
sys 0m22.968s
Yep, 284 MINUTES for just 404 messages (4mb)!
I must say my mailbox is stored at a NAS and our current IMAP server is mounting it via NFS. It's important to say that while doing these tests NAS CPU Usage and IMAP Server load average never reached high levels. Also, Zimbra store remains locally on a PowerEdge 2950 with 10k RPM SAS disks.
In order to speed it up a little bit (ha, ha, ha) I didn't even use SSL for IMAP.
All these tests were done under RHEL 5 x86_64 and imapsync 1.99.
Does anyone have any clues on how could I speed up this process ? Or any alternate way of migrating from mailbox to zimbra ?!
Regards,


LinkBack URL
About LinkBacks



