On 2009-01-13, Timo Sirainen <tss@iki.fi> wrote:
Reading your old mails: are you still using GPFS? This crash just shouldn't be happening, so perhaps something randomly breaks with it. Are you using mmap_disable=3Dyes? Multiple servers can access the same user's mails at the same time?
I tried setting mmap_disable=yes today, but got two new failures 2.5 hours later :-(
Jan 20 10:38:32 smtp2.ulh.myinternaldomain.net deliver(quarantine@mydomain.net): Raw backtrace: /usr/local/dovecot/libexec/dovecot/deliver(i_syslog_panic_handler+0x1c) [0x45577c] -> /usr/local/dovecot/libexec/dovecot/deliver [0x45537c] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_sync_update_index+0x86f) [0x43eb8f] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_sync_begin+0x245) [0x43c6e5] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_sync_index_begin+0x45) [0x4162d5] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_transaction_save_commit_pre+0x68) [0x41c638] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_transaction_commit+0x70) [0x417320] -> /usr/local/dovecot-1.0.15/lib/dovecot/lda/lib10_quota_plugin.so [0x2a9557d3a8] -> /usr/local/dovecot/libexec/dovecot/deliver(deliver_save+0x136) [0x410856] -> /usr/local/dovecot/libexec/dovecot/deliver(main+0x1023) [0x411c43] -> /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x322e11c40b] -> /usr/local/dovecot/libexec/dovecot/deliver [0x40ffaa]
Jan 20 10:38:32 smtp2.ulh.myinternaldomain.net deliver(quarantine@mydomain.net): file mail-index-sync-update.c: line 854 (mail_index_sync_update_index): assertion failed: (view->hdr.messages_count == map->hdr.messages_count)
Jan 20 10:30:10 smtp1.ulh.myinternaldomain.net deliver(quarantine@mydomain.net): Raw backtrace: /usr/local/dovecot/libexec/dovecot/deliver(i_syslog_panic_handler+0x1c) [0x45577c] -> /usr/local/dovecot/libexec/dovecot/deliver [0x45537c] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_sync_update_index+0x86f) [0x43eb8f] -> /usr/local/dovecot/libexec/dovecot/deliver(mail_index_sync_begin+0x245) [0x43c6e5] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_sync_index_begin+0x45) [0x4162d5] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_transaction_save_commit_pre+0x68) [0x41c638] -> /usr/local/dovecot/libexec/dovecot/deliver(maildir_transaction_commit+0x70) [0x417320] -> /usr/local/dovecot-1.0.15/lib/dovecot/lda/lib10_quota_plugin.so [0x2a9557d3a8] -> /usr/local/dovecot/libexec/dovecot/deliver(deliver_save+0x136) [0x410856] -> /usr/local/dovecot/libexec/dovecot/deliver(main+0x1023) [0x411c43] -> /lib64/tls/libc.so.6(__libc_start_main+0xdb) [0x3cbd81c40b] -> /usr/local/dovecot/libexec/dovecot/deliver [0x40ffaa]
Jan 20 10:30:10 smtp1.ulh.myinternaldomain.net deliver(quarantine@mydomain.net): file mail-index-sync-update.c: line 854 (mail_index_sync_update_index): assertion failed: (view->hdr.messages_count == map->hdr.messages_count)
This is with the following config. Any other suggestions for what we should try ?
protocols = imap pop3 protocol imap { listen = *:143 } protocol pop3 { listen = *:110 } disable_plaintext_auth = no ssl_disable = yes login_user = dovecot max_mail_processes = 512 namespace private { prefix = INBOX. inbox = yes } mmap_disable = yes protocol imap { mail_plugins = quota imap_quota imap_client_workarounds = outlook-idle delay-newmail } protocol pop3 { mail_plugins = quota pop3_uidl_format = UID%u-%v pop3_client_workarounds = outlook-no-nuls oe-ns-eoh } protocol lda { postmaster_address = MAILER-DAEMON@mydomain.net mail_plugins = quota auth_socket_path = /var/run/dovecot/auth-master sendmail_path = /usr/sbin/sendmail } auth default { mechanisms = plain passdb sql { args = /usr/local/dovecot/etc/dovecot-sql.conf } userdb sql { args = /usr/local/dovecot/etc/dovecot-sql.conf } user = dovecot-auth socket listen { master { path = /var/run/dovecot/auth-master mode = 0660 user = root group = atmail } } } auth_verbose = yes
% dovecot -n # 1.0.15: /usr/local/dovecot-1.0.15/etc/dovecot.conf protocols: imap pop3 listen(default): *:143 listen(imap): *:143 listen(pop3): *:110 ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/dovecot-1.0.15/var/run/dovecot/login login_executable(default): /usr/local/dovecot-1.0.15/libexec/dovecot/imap-login login_executable(imap): /usr/local/dovecot-1.0.15/libexec/dovecot/imap-login login_executable(pop3): /usr/local/dovecot-1.0.15/libexec/dovecot/pop3-login max_mail_processes: 512 mmap_disable: yes mail_executable(default): /usr/local/dovecot-1.0.15/libexec/dovecot/imap mail_executable(imap): /usr/local/dovecot-1.0.15/libexec/dovecot/imap mail_executable(pop3): /usr/local/dovecot-1.0.15/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugin_dir(default): /usr/local/dovecot-1.0.15/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/dovecot-1.0.15/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/dovecot-1.0.15/lib/dovecot/pop3 imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): outlook-idle pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): UID%u-%v pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh namespace: type: private prefix: INBOX. inbox: yes auth default: user: dovecot-auth verbose: yes passdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf userdb: driver: sql args: /usr/local/dovecot/etc/dovecot-sql.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 432 user: root group: atmail
-jf