[Dovecot] dsync panic

Jürgen Obermann Juergen.Obermann at hrz.uni-giessen.de
Fri Dec 16 00:00:05 EET 2011


Hello,
when I try to convert from mbox to mdbox with dsync with one user it 
always panics:

# /opt/local/bin/dsync -v -u userxy backup ssh root at minerva1 
/opt/local/bin/dsync -v -u userxy
dsync-local(userxy): Info: Papierkorb: uidnext changed: 161 != 1
dsync-local(userxy): Info: INBOX: uidnext changed: 9139 != 9105
dsync-local(userxy): Info: Trash: uidnext changed: 3924 != 3915
dsync-local(userxy): Info: Drafts: uidnext changed: 1563 != 1
dsync-local(userxy): Info: Gesendet: uidnext changed: 369 != 1
dsync-local(userxy): Info: Sent: uidnext changed: 1955 != 1
dsync-remote(userxy): Panic: Trying to allocate 2147483648 bytes
dsync-remote(userxy): Error: Raw backtrace: 0xff14bc30 -> 0xff1658c0 -> 
0xff15744c -> 0xff157520 -> 0xff159d90 -> 0xff156540 -> 0xff15cf5c -> 
0xff156540 -> 0xff157100 -> 0xff16d158 -> 0xff16cfe8 -> 0xff26e350 -> 
0x251c4 -> 0x2547c -> 0x21110 -> 0x20494 -> 0x1f230 -> 0x1f3d4 -> 
0xff15e46c -> 0xff15f738 -> 0xff15e530 -> 0xff140ec8 -> 0x1525c -> 
0x14608
Abort
dsync-local(userxy): Error: read() from worker server failed: EOF
dsync-local(userxy): Error: Unexpected reply from server:

My local configuration is:
# /opt/local/bin/doveconf -n
# 2.0.16: /opt/local/etc/dovecot/dovecot.conf
# OS: SunOS 5.10 sun4v
auth_verbose = yes
disable_plaintext_auth = no
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = imap.hrz.uni-giessen.de localhost
mail_fsync = always
mail_location = mbox:~/Mail:INBOX=/var/mail/%u
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = mail_log notify zlib
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
mmap_disable = yes
namespace {
   inbox = yes
   location =
   prefix =
   separator = /
   type = private
}
namespace {
   hidden = yes
   list = no
   location =
   prefix = Mail/
   separator = /
   subscriptions = yes
   type = private
}
passdb {
   driver = pam
}
passdb {
   args = /opt/local/etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
plugin {
   autocreate = Trash
   autocreate2 = caughtspam
   autocreate3 = Sent
   autocreate4 = Drafts
   autosubscribe = Trash
   autosubscribe2 = caughtspam
   autosubscribe3 = Sent
   autosubscribe4 = Drafts
   mail_log_events = delete undelete expunge copy mailbox_delete 
mailbox_rename
   mail_log_fields = uid box msgid size
   sieve = ~/.dovecot.sieve
   sieve_dir = ~/sieve
}
postmaster_address = postmaster at hrz.uni-giessen.de
quota_full_tempfail = yes
sendmail_path = /usr/lib/sendmail
service auth {
   client_limit = 11120
}
service imap-login {
   process_min_avail = 16
   service_count = 0
   vsz_limit = 640 M
}
service imap {
   process_limit = 4096
   vsz_limit = 1 G
}
ssl_cert = </etc/ssl/imap_hrz.crt
ssl_key = </etc/ssl/imap_hrz.key
syslog_facility = local0
userdb {
   driver = passwd
}
version_ignore = yes
protocol lda {
   info_log_path =
   log_path =
   mail_plugins = mail_log notify zlib sieve
}
protocol imap {
   imap_client_workarounds = delay-newmail tb-extra-mailbox-sep 
tb-lsub-flags
   mail_max_userip_connections = 20
   mail_plugins = mail_log notify zlib autocreate imap_zlib
}
protocol lmtp {
   mail_plugins = mail_log notify zlib sieve
}
protocol pop3 {
   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
   pop3_uidl_format = %08Xv%08Xu
}

On the remote side the configuration is

# 2.0.16: /opt/local/etc/dovecot/dovecot.conf
# OS: SunOS 5.10 sun4u  zfs
auth_debug = yes
auth_debug_passwords = yes
auth_verbose = yes
disable_plaintext_auth = no
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = minerva1.hrz.uni-giessen.de
mail_debug = yes
mail_fsync = always
mail_location = mdbox:/sanpool/mail%h/mdbox
mail_nfs_index = yes
mail_nfs_storage = yes
mail_plugins = mail_log notify quota zlib
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
mdbox_rotate_interval = 1 days
mdbox_rotate_size = 16 M
mmap_disable = yes
namespace {
   inbox = yes
   location =
   prefix =
   separator = /
   type = private
}
namespace {
   hidden = yes
   list = no
   location =
   prefix = Mail/
   separator = /
   subscriptions = yes
   type = private
}
namespace {
   location = 
maildir:/var/mail/public:CONTROL=/sanpool/mail/%u/Maildir/public:INDEX=/sanpool/mail/%u/Maildir/public
   prefix = Public/
   separator = /
   subscriptions = no
   type = public
}
passdb {
   driver = pam
}
passdb {
   args = /opt/local/etc/dovecot/dovecot-ldap.conf.ext
   driver = ldap
}
plugin {
   autocreate = Trash
   autocreate2 = caughtspam
   autocreate3 = Sent
   autocreate4 = Drafts
   autosubscribe = Trash
   autosubscribe2 = caughtspam
   autosubscribe3 = Sent
   autosubscribe4 = Drafts
   fts = squat
   mail_log_events = delete undelete expunge copy mailbox_delete 
mailbox_rename
   mail_log_fields = uid box msgid size
   quota = fs:Home-Verzeichnis:noenforcing
   zlib_save = gz
   zlib_save_level = 3
}
postmaster_address = postmaster at hrz.uni-giessen.de
quota_full_tempfail = yes
sendmail_path = /usr/lib/sendmail
service auth {
   client_limit = 11120
}
service imap-login {
   process_min_avail = 16
   service_count = 0
   vsz_limit = 640 M
}
service imap {
   process_limit = 4096
   vsz_limit = 1 G
}
ssl_cert = </etc/ssl/server.crt
ssl_key = </etc/ssl/server.key
syslog_facility = local0
userdb {
   driver = passwd
}
version_ignore = yes
protocol imap {
   imap_client_workarounds = delay-newmail tb-extra-mailbox-sep 
tb-lsub-flags
   mail_max_userip_connections = 20
   mail_plugins = mail_log notify quota zlib autocreate fts fts_squat 
imap_quota imap_zlib
}
protocol lda {
   info_log_path =
   log_path =
   mail_plugins = mail_log notify quota zlib sieve
}
protocol lmtp {
   mail_plugins = mail_log notify quota zlib sieve
}
protocol pop3 {
   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
   pop3_uidl_format = %08Xv%08Xu
}

Thank you,
Jürgen Obermann
Hochschulrechenzentrum der
Justus-Liebig-Universität Gießen
Heinrich-Buff-Ring 44
Tel. 0641-9913054


More information about the dovecot mailing list