Error: Raw backtrace and index cache

Maciej Milaszewski IQ PL maciej.milaszewski at iq.pl
Wed Nov 20 14:55:16 EET 2019


Hi
I have change now to dovecot-2.2.36.4 and problem seems not to occur

On 20.11.2019 13:48, Aki Tuomi via dovecot wrote:
> This is likely fixed in more recent version, can you try with 2.2.36?
>
> Aki
>
> On 20.11.2019 11.20, Maciej Milaszewski IQ PL wrote:
>> Hi
>> Thanx for replay.
>>
>> Log:
>>
>> http://paste.debian.net/1117077/
>>
>>
>> On 20.11.2019 10:07, Aki Tuomi wrote:
>>> Firstly, 2.2.13 is about 5 years old. So there's that. It would be
>>> helpful if you can reproduce this with 2.2.36.
>>>
>>> Also, you forgot to actually include in your log snippet the panic. So
>>> maybe few more lines before the Raw backtrace?
>>>
>>> Aki
>>>
>>> On 20.11.2019 10.54, Maciej Milaszewski IQ PL via dovecot wrote:
>>>> 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
>>>> }
>>>>


-- 
Maciej Miłaszewski
Starszy Administrator Systemowy
IQ PL Sp. z o.o.

Biuro Obsługi Klienta:
e-mail: bok at iq.pl
tel.: +48 58 326 09 90 - 94
fax: +48 58 326 09 99

Dział pomocy: https://www.iq.pl/pomoc
Informacja dotycząca przetwarzania danych osobowych: https://www.iq.pl/kontakt

IQ PL Sp. z o.o. z siedzibą w Gdańsku (80-298), ul. Geodetów 16, KRS 0000007725, Sąd rejestrowy: Sąd Rejonowy w Gdańsku VII Wydział KRS, kapitał zakładowy: 140.000 PLN, NIP 5832736211, REGON 192478853



More information about the dovecot mailing list