problems after upgrade from 2.2.27 to 2.3.4.1

Lampa lampacz at gmail.com
Wed Dec 9 09:24:58 EET 2020


Hello,

after debian version from 9 to, also dovecot was upgraded. There was
problems with right imap and imap-login connection settings. I adjusted
process_limit, service count increased /proc/sys/net/core/somaxconn from
128 to 1024 for imap

It's a system with 1000+ imap and 200+ pop3 connections. When imap
connections are over 1000 problems begins.

Problem one:
2020-12-07T12:46:39.575586+01:00 vhermes dovecot: master: Error:
service(pop3): Initial status notification not received in 30 seconds,
killing the process
2020-12-07T12:46:39.576448+01:00 vhermes dovecot: pop3: Fatal: master:
service(pop3): child 13975 killed with signal 9
2020-12-07T12:46:42.015726+01:00 vhermes dovecot: master: Error:
service(lmtp): Initial status notification not received in 30 seconds,
killing the process
2020-12-07T12:46:42.016680+01:00 vhermes dovecot: lmtp: Fatal: master:
service(lmtp): child 13985 killed with signal 9
2020-12-07T12:46:42.061963+01:00 vhermes dovecot: master: Error:
service(lmtp): Initial status notification not received in 30 seconds,
killing the process
2020-12-07T12:46:42.062973+01:00 vhermes dovecot: lmtp: Fatal: master:
service(lmtp): child 13987 killed with signal 9

problem two:
2020-12-07T13:55:43.106017+01:00 vhermes dovecot: pop3: Error:
net_connect_unix(/var/run/dovecot/stats-writer) failed: Resource
temporarily unavailable
2020-12-07T13:56:22.300893+01:00 vhermes dovecot: lmtp: Error:
net_connect_unix(/var/run/dovecot/stats-writer) failed: Resource
temporarily unavailable
2020-12-07T13:58:11.721892+01:00 vhermes dovecot: imap: Error:
net_connect_unix(/var/run/dovecot/stats-writer) failed: Resource
temporarily unavailable

problem three - lot of
2020-12-07T10:16:24.773347+01:00 vhermes dovecot: imap-login: Error:
master(imap): net_connect_unix(imap) failed: Resource temporarily
unavailable - http://wiki2.dovecot.org/SocketUnavailable

problem four - crashing

020-12-09T07:53:26.914331+01:00 vhermes dovecot:
imap(user at domain)<5426><cv8ehAK2npZX7MQb>:
Panic: file message-parser.c: line 174 (message_part_finish): assertion
failed: (ctx->nested_parts_count > 0)
2020-12-09T07:53:26.916771+01:00 vhermes dovecot:
imap(user at domain)<5426><cv8ehAK2npZX7MQb>:
Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xdb62b)
[0x7f31bb0d462b] -> /usr/lib/dovecot/libdovecot.so.0(+0xdb6c1)
[0x7f31bb0d46c1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a149)
[0x7f31bb043149] -> /usr/lib/dovecot/libdovecot.so.0(+0x474ac)
[0x7f31bb0404ac] ->
/usr/lib/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x104)
[0x7f31bb0bc844] ->
/usr/lib/dovecot/libdovecot.so.0(message_search_msg+0xa8) [0x7f31bb0bedf8]
-> /usr/lib/dovecot/libdovecot-storage.so.0(+0xcf89e) [0x7f31bb25789e] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_search_args_foreach+0x45)
[0x7f31bb1d9445] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xd0774)
[0x7f31bb258774] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xd1a68)
[0x7f31bb259a68] ->
/usr/lib/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x61)
[0x7f31bb25a0e1] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x28)
[0x7f31bb1e2e58] -> dovecot/imap [user at domain 1.2.3.4 UID SORT](+0x2691f)
[0x559347dc891f] -> dovecot/imap [user at domain 1.2.3.4 UID
SORT](command_exec+0x70) [0x559347dc1d80] -> dovecot/imap [user at domain
1.2.3.4 UID SORT](+0x25ed2) [0x559347dc7ed2] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handle_timeouts+0x111)
[0x7f31bb0ea8f1] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xd0)
[0x7f31bb0ec070] ->
/usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7f31bb0eab7c]
-> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7f31bb0eace0] ->
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f31bb06b0d3]
-> dovecot/imap [user at domain 1.2.3.4 UID SORT](main+0x325) [0x559347db2bf5]
-> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f31bae5609b]
-> dovecot/imap [user at domain 1.2.3.4 UID SORT](_start+0x2a) [0x559347db2d8a]
2020-12-09T07:53:26.917634+01:00 vhermes dovecot:
imap(user at domain)<5426><cv8ehAK2npZX7MQb>:
Fatal: master: service(imap): child 5426 killed with signal 6 (core dumps
disabled - https://dovecot.org/bugreport.html#coredumps)

Seems that last problem is solved (if same)
https://github.com/dovecot/core/commit/a668d767a710ca18ab6e7177d8e8be22a6b024fb

Thank you for any help

-- 
Lampa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20201209/cb30b02c/attachment.html>


More information about the dovecot mailing list