[Dovecot] dsync is SLOW compared to rsync

Jeff Gustafson ncjeffgus at zimage.com
Thu Mar 29 03:48:06 EEST 2012


On Thu, 2012-03-29 at 03:06 +0300, Timo Sirainen wrote:

> time doveadm -o mail=mdbox:/tmp/mdbox import mdbox:/path/to/real/mdbox "" all

	This tried to write to /root for some reason and failed (dovecot
2.1.3):

# time doveadm -o mail=maildir:/home/bu/test.mdbox import
maildir:/home/users/user at domain.com/Maildir "" all
doveadm(root): Error: chdir(/root/) failed: Permission denied
(euid=10025(vmail) egid=10025(vmail) missing +x perm: /root, we're not
in group 0(root), dir owned by 0:0 mode=0550)
doveadm(root): Error: chdir(/root) failed: Permission denied
doveadm(root): Error: Can't find namespace for mailbox Trash
doveadm(root): Error: Can't find namespace for mailbox test


> Or if it's the mail reading code:
> 
> time doveadm fetch -u user at domain text all > /dev/null

	This ran quicker than a full dsync. Only 40s for 3.1GB. rsync still
beat it clocking in at 16s. I ran the fetch command twice figuring the
files would get cached by the OS.

			...Jeff





More information about the dovecot mailing list