Error: Raw backtrace and index cache

Maciej Milaszewski IQ PL maciej.milaszewski at iq.pl
Wed Nov 20 10:54:33 EET 2019


Hi
I have "problem" with dovect 2.2.13 from repo debian8 and I don't know
how to solve it ...

Server is a virtual (kvm) with debian 8.11 (postfix + dovecot from repo)
and storage is mounting via nfs (I have use only one dovecot with
external storage)

All works fine but sometime ( after a few hours ) I have got a problem
with dovecot cache (i use indexes)
logs -> http://paste.debian.net/1117072/


The store is mounted via nfs in /home/
index is local in  /var/dovecot_indexes%h

All go back to normal when i remove indexes like:
find /var/dovecot_indexes/home/ -name 'dovecot*' -type f -delete
but this is not good solution

What am I doing wrong ?


For tunning nfs in 10-mail.conf:

---------
"mail_location = maildir:~/Maildir:INDEX=/var/dovecot_indexes%h

namespace inbox {
  inbox = yes
}

mmap_disable = yes
dotlock_use_excl = no
mail_fsync = always

mail_nfs_storage = no
mail_nfs_index = no

lock_method = fcntl
mail_temp_dir = /tmp
mail_plugins = quota expire notify mail_log

mailbox_idle_check_interval = 30 secs
mail_temp_scan_interval = 1w
maildir_very_dirty_syncs = no

-------------

doveconf -n

# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 3.16.0-9-amd64 x86_64 Debian 8.11
auth_mechanisms = plain login
disable_plaintext_auth = no
dotlock_use_excl = no
lda_original_recipient_header = X-Original-To
log_path = /var/log/dovecot/dovecot.mail133
mail_fsync = always
mail_location = maildir:~/Maildir:INDEX=/var/dovecot_indexes%h
mail_plugins = quota expire notify mail_log
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 index ihave duplicate mime foreverypart extracttext
mmap_disable = yes
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete
mailbox_rename
  mail_log_fields = uid box msgid size
  sieve = ~/dovecot.sieve
  sieve_default = /var/lib/dovecot/sieve/default.sieve
  sieve_dir = %h/sieve
  sieve_global_dir = /var/lib/dovecot/sieve/
}
protocols = " imap lmtp sieve pop3"
service auth {
  unix_listener auth-master {
    group = users
    mode = 0666
    user = virtual
  }
  unix_listener auth-userdb {
    group = users
    user = virtual
  }
}
service lmtp {
  inet_listener lmtp {
    port = 24
  }
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
  user = virtual
}
service managesieve-login {
  inet_listener sieve {
    address = 127.0.0.1 94.124.15.58
    port = 4190
  }
}
ssl_ca = /etc/postfix/ssl/mail.maximail.pl.pem
ssl_cert = </etc/postfix/ssl/mail.maximail.pl.pem
ssl_key = </etc/postfix/ssl/mail.maximail.pl.key
ssl_protocols = !SSLv2 !SSLv3
userdb {
  driver = passwd
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol lmtp {
  info_log_path = /var/log/dovecot/dovecot.mali133
  lmtp_save_to_detail_mailbox = yes
  mail_plugins = quota sieve notify push_notification
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  lda_mailbox_autocreate = yes
  log_path = /var/log/dovecot/dovecot-lda.mail133
  mail_plugins = sieve
  postmaster_address = root
}



More information about the dovecot mailing list