Emmanuel Dreyfus
2013-Apr-29 07:43 UTC
[Dovecot] quota-related crash for doveadm dsync operation
Hi I understand the crash below is caused by filesystem quota. I just report it because perhaps it could have a more graceful failure. Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: Mailbox Sent: Saving failed: Not enough disk space Apr 29 09:39:17 danceny syslogd[165]: last message repeated 4 times Apr 29 09:39:17 danceny dovecot: doveadm: Error: dsync-remote(jdoe): Error: Cached message size smaller than expected (35111 < 40830) Apr 29 09:39:17 danceny dovecot: doveadm: Error: dsync-remote(jdoe): Error: Corrupted index cache file /mail/indexes/jdoe/.imap/Sent/dovecot.index.cache: Broken physical size for mail UID 976 Apr 29 09:39:17 danceny dovecot: doveadm: Error: dsync-remote(jdoe): Error: dsync(local): read(/home/pct/jdoe/mail/Sent) failed: Invalid argument Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: dsync(root at volanges.net.espci.fr): read() failed: Broken pipe Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Panic: file mail-storage.c: line 1830 (mailbox_transaction_commit_get_changes): assertion failed: (ret < 0 || seq_range_count(&changes_r->saved_uids) == save_count || array_count(&changes_r->saved_uids) == 0) Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Fatal: master: service(doveadm): child 23443 killed with signal 6 (core not dumped - set service doveadm { drop_priv_before_exec=yes }) -- Emmanuel Dreyfus manu at netbsd.org
Timo Sirainen
2013-May-15 14:20 UTC
[Dovecot] quota-related crash for doveadm dsync operation
On 29.4.2013, at 10.43, Emmanuel Dreyfus <manu at netbsd.org> wrote:> I understand the crash below is caused by filesystem quota. I just report > it because perhaps it could have a more graceful failure. > > > Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: Mailbox Sent: Saving failed: Not enough disk space > Apr 29 09:39:17 danceny syslogd[165]: last message repeated 4 times > Apr 29 09:39:17 danceny dovecot: doveadm: Error: dsync-remote(jdoe): Error: Cached message size smaller than expected (35111 < 40830) > Apr 29 09:39:17 danceny dovecot: doveadm: Error: dsync-remote(jdoe): Error: Corrupted index cache file /mail/indexes/jdoe/.imap/Sent/dovecot.index.cache: Broken physical size for mail UID 976 > Apr 29 09:39:17 danceny dovecot: doveadm: Error: dsync-remote(jdoe): Error: dsync(local): read(/home/pct/jdoe/mail/Sent) failed: Invalid argument > Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: dsync(root at volanges.net.espci.fr): read() failed: Broken pipe > Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Panic: file mail-storage.c: line 1830 (mailbox_transaction_commit_get_changes): assertion failed: (ret < 0 || seq_range_count(&changes_r->saved_uids) == save_count || array_count(&changes_r->saved_uids) == 0) > Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Fatal: master: service(doveadm): child 23443 killed with signal 6 (core not dumped - set service doveadm { drop_priv_before_exec=yes })Fixed the crash: http://hg.dovecot.org/dovecot-2.2/rev/1d6f42853492 Also fixed a few other mbox issues. But I see that there are still others left when running dsync+mbox. I'll try to get them fixed, but mbox isn't very high priority format..
Apparently Analagous Threads
- dovecot 2.2.0 corrupts mailboxes?
- Fatal: master: service(indexer-worker): child 493 killed with signal 11 (core dumped)
- dsync panic in mbox_lock
- Fatal: master: service(indexer-worker): child 493 killed with signal 11 (core dumped)
- Fatal: master: service(indexer-worker): child 493 killed with signal 11 (core dumped)