Hi!
Today I've got a client unable to open a mailbox with Thunderbird - constantly drops connection. On the server side I can see an error message in the log
Jul 22 11:07:29 mx10 dovecot: imap(oleg.vasilyev@bgoperator.com): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x7c96f) [0x7fd52575b96f] -> /usr/lib/dovecot/libdovecot.so.0(+0x7c9ce) [0x7fd52575b9ce] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd525709875] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_uint32_to_offset+0x74) [0x7fd525aa72d4] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_cache_add+0x561) [0x7fd525a91cf1] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_parse_header+0x2b1) [0x7fd525a79241] -> /usr/lib/dovecot/libdovecot.so.0(+0x66e47) [0x7fd525745e47] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x68) [0x7fd5257657a8] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7fd52576614d] -> /usr/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x62) [0x7fd52574af02] -> /usr/lib/dovecot/libdovecot.so.0(+0x667ff) [0x7fd5257457ff] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x68) [0x7fd5257657a8] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7fd52576614d] -> /usr/lib/dovecot/libdovecot.so.0(message_get_header_size+0x53) [0x7fd52574e4b3] -> /usr/lib/dovecot/libdovecot-storage.so.0(imap_msgpart_open+0x257) [0x7fd525ab4527] -> dovecot/imap(+0x1da42) [0x7fd525f3ca42] -> dovecot/imap(+0x1be3f) [0x7fd525f3ae3f] -> dovecot/imap(imap_fetch_more+0x37) [0x7fd525f3be97] -> dovecot/imap(cmd_fetch+0x316) [0x7fd525f2f946] -> dovecot/imap(command_exec+0x4c) [0x7fd525f398cc] -> dovecot/imap(+0x19830) [0x7fd525f38830] -> dovecot/imap(+0x198c4) [0x7fd525f388c4] -> dovecot/imap(client_handle_input+0x115) [0x7fd525f38bc5] -> dovecot/imap(client_input+0x75) [0x7fd525f38fa5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fd52576e54b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xbb) [0x7fd52576f5cb] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) [0x7fd52576e5d9] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd52576e658] Jul 22 11:07:29 mx10 dovecot: imap(oleg.vasilyev@bgoperator.com): Fatal: master: service(imap): child 17109 killed with signal 6 (core dumped)
Should I report a bug or there is a workaround for this issue?
-- Best regards, Sergey Schwartz
Senior System Administrator Biblio Globus Tour Operator www.bgoperator.ru
T: +7 495 5042500 ext 1532 E: sergey.schwartz@bgoperator.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 22 Jul 2015, Sergey Schwartz wrote:
Should I report a bug or there is a workaround for this issue?
which version of Dovecot do you run? If it is less than v2.2.18, you should try the most current one before reporting any bugs.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVa9fbnz1H7kL/d9rAQJffgf/WQMGN4wI2+/Fi6TFom3/X4TMH+2STg9f G+RX7r0jwK5EmpvcHGHH2Xfh7l6xdpmJSgUp9mR0JEJpbb63IltjQcVvRSHlS2Yy Mr0PshtnBfNsNfnqQumBx47IGFZGGeUtWvez3P/whz4R1RhPQsVg+f8pbggMNYwl QrsAO/i9jCyWY2Q3m+juXkrZftmaSwesRgNwuEL56LhCgdn2JekC6yCg1LW8zaxJ lCd7smxDoYubLD/AvzKm3QB3PyN9Zx07jqsNjyHWUVpT+CjvsdcmneH1XIhRBVr8 2U7wPTNr5VhdxPVgOLU5aDiL8rYdx+qgLOzgZLQ2Zrk3eiQZ5pkBkw== =Pkwb -----END PGP SIGNATURE-----
Hi,
it is 2.1.7. My Problem is the sieve vacation script.
require "vacation"; vacation :days 17 :addresses ["aa@aa.at"] :subject " text text
text. text, text text, text
br aa";
If someone is sending an email to aa@aa.at he gets the vacation message, but if some is sendig an email to bb@aa.at he also gets the vacation message. And even if someone is sending to bbb@bbb.at (second domain on server) he also gets this message. Any idea?
br. noctua
On 2015-07-22 11:16, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 22 Jul 2015, Sergey Schwartz wrote:
Should I report a bug or there is a workaround for this issue?
which version of Dovecot do you run? If it is less than v2.2.18, you should try the most current one before reporting any bugs.
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVa9fbnz1H7kL/d9rAQJffgf/WQMGN4wI2+/Fi6TFom3/X4TMH+2STg9f G+RX7r0jwK5EmpvcHGHH2Xfh7l6xdpmJSgUp9mR0JEJpbb63IltjQcVvRSHlS2Yy Mr0PshtnBfNsNfnqQumBx47IGFZGGeUtWvez3P/whz4R1RhPQsVg+f8pbggMNYwl QrsAO/i9jCyWY2Q3m+juXkrZftmaSwesRgNwuEL56LhCgdn2JekC6yCg1LW8zaxJ lCd7smxDoYubLD/AvzKm3QB3PyN9Zx07jqsNjyHWUVpT+CjvsdcmneH1XIhRBVr8 2U7wPTNr5VhdxPVgOLU5aDiL8rYdx+qgLOzgZLQ2Zrk3eiQZ5pkBkw== =Pkwb -----END PGP SIGNATURE-----
Steffen,
2.2.18 (2de3c7248922)
Best regards, Sergey Schwartz
Senior System Administrator Biblio Globus Tour Operator www.bgoperator.ru
T: +7 495 5042500 ext 1532 E: sergey.schwartz@bgoperator.com
22.07.2015 12:16, Steffen Kaiser пишет:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 22 Jul 2015, Sergey Schwartz wrote:
Should I report a bug or there is a workaround for this issue?
which version of Dovecot do you run? If it is less than v2.2.18, you should try the most current one before reporting any bugs.
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVa9fbnz1H7kL/d9rAQJffgf/WQMGN4wI2+/Fi6TFom3/X4TMH+2STg9f G+RX7r0jwK5EmpvcHGHH2Xfh7l6xdpmJSgUp9mR0JEJpbb63IltjQcVvRSHlS2Yy Mr0PshtnBfNsNfnqQumBx47IGFZGGeUtWvez3P/whz4R1RhPQsVg+f8pbggMNYwl QrsAO/i9jCyWY2Q3m+juXkrZftmaSwesRgNwuEL56LhCgdn2JekC6yCg1LW8zaxJ lCd7smxDoYubLD/AvzKm3QB3PyN9Zx07jqsNjyHWUVpT+CjvsdcmneH1XIhRBVr8 2U7wPTNr5VhdxPVgOLU5aDiL8rYdx+qgLOzgZLQ2Zrk3eiQZ5pkBkw== =Pkwb -----END PGP SIGNATURE-----
I've got a bit more details
Jul 24 10:21:50 mx10 dovecot: imap(oleg.vasilyev@bgoperator.com): *Panic: file mail-index-util.c: line 37 (mail_index_uint32_to_offset): assertion failed: (offset < 0x40000000)*
Jul 24 10:21:50 mx10 dovecot: imap(oleg.vasilyev@bgoperator.com): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x7c96f) [0x7fe4a719d96f] -> /usr/lib/dovecot/libdovecot.so.0(+0x7c9ce) [0x7fe4a719d9ce] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fe4a714b875] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_uint32_to_offset+0x74) [0x7fe4a74e92d4] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_cache_add+0x561) [0x7fe4a74d3cf1] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_parse_header+0x2b1) [0x7fe4a74bb241] -> /usr/lib/dovecot/libdovecot.so.0(+0x66e47) [0x7fe4a7187e47] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x68) [0x7fe4a71a77a8] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7fe4a71a814d] -> /usr/lib/dovecot/libdovecot.so.0(message_parse_header_next+0x62) [0x7fe4a718cf02] -> /usr/lib/dovecot/libdovecot.so.0(+0x667ff) [0x7fe4a71877ff] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read+0x68) [0x7fe4a71a77a8] -> /usr/lib/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7fe4a71a814d] -> /usr/lib/dovecot/libdovecot.so.0(message_get_header_size+0x53) [0x7fe4a71904b3] -> /usr/lib/dovecot/libdovecot-storage.so.0(imap_msgpart_open+0x257) [0x7fe4a74f6527] -> dovecot/imap(+0x1da42) [0x7fe4a797ea42] -> dovecot/imap(+0x1be3f) [0x7fe4a797ce3f] -> dovecot/imap(imap_fetch_more+0x37) [0x7fe4a797de97] -> dovecot/imap(cmd_fetch+0x316) [0x7fe4a7971946] -> dovecot/imap(command_exec+0x4c) [0x7fe4a797b8cc] -> dovecot/imap(+0x19830) [0x7fe4a797a830] -> dovecot/imap(+0x198c4) [0x7fe4a797a8c4] -> dovecot/imap(client_handle_input+0x115) [0x7fe4a797abc5] -> dovecot/imap(client_input+0x75) [0x7fe4a797afa5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x5b) [0x7fe4a71b054b] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xbb) [0x7fe4a71b15cb] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x9) [0x7fe4a71b05d9] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fe4a71b0658] Jul 24 10:21:50 mx10 dovecot: imap(oleg.vasilyev@bgoperator.com): Fatal: master: service(imap): child 12820 killed with signal 6 (core dumped)
Best regards, Sergey Schwartz
Senior System Administrator Biblio Globus Tour Operator www.bgoperator.ru
T: +7 495 5042500 ext 1532 E: sergey.schwartz@bgoperator.com
22.07.2015 13:48, Sergey Schwartz пишет:
Steffen,
2.2.18 (2de3c7248922)
Best regards, Sergey Schwartz
Senior System Administrator Biblio Globus Tour Operator www.bgoperator.ru
T: +7 495 5042500 ext 1532 E: sergey.schwartz@bgoperator.com
22.07.2015 12:16, Steffen Kaiser пишет:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 22 Jul 2015, Sergey Schwartz wrote:
Should I report a bug or there is a workaround for this issue?
which version of Dovecot do you run? If it is less than v2.2.18, you should try the most current one before reporting any bugs.
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iQEVAwUBVa9fbnz1H7kL/d9rAQJffgf/WQMGN4wI2+/Fi6TFom3/X4TMH+2STg9f G+RX7r0jwK5EmpvcHGHH2Xfh7l6xdpmJSgUp9mR0JEJpbb63IltjQcVvRSHlS2Yy Mr0PshtnBfNsNfnqQumBx47IGFZGGeUtWvez3P/whz4R1RhPQsVg+f8pbggMNYwl QrsAO/i9jCyWY2Q3m+juXkrZftmaSwesRgNwuEL56LhCgdn2JekC6yCg1LW8zaxJ lCd7smxDoYubLD/AvzKm3QB3PyN9Zx07jqsNjyHWUVpT+CjvsdcmneH1XIhRBVr8 2U7wPTNr5VhdxPVgOLU5aDiL8rYdx+qgLOzgZLQ2Zrk3eiQZ5pkBkw== =Pkwb -----END PGP SIGNATURE-----
On 24 Jul 2015, at 12:58, Sergey Schwartz sergey.schwartz@bgoperator.com wrote:
I've got a bit more details
Jul 24 10:21:50 mx10 dovecot: imap(oleg.vasilyev@bgoperator.com): *Panic: file mail-index-util.c: line 37 (mail_index_uint32_to_offset): assertion failed: (offset < 0x40000000)*
I think you have a huge >4 GB dovecot.index.cache file there?
Timo,
Probabbly it was, but I can't check it now. I was deploying replication with dsync and a few users got overloaded with duplicate messages. Each affected user had a few messages duplicated ~30 000 times. To workaround the issue I was trying to a) run deduplicate on the mailbox, and if it didn't help b) rebuild user with dsync backup.
Best regards, Sergey Schwartz
Senior System Administrator Biblio Globus Tour Operator www.bgoperator.ru
T: +7 495 5042500 ext 1532 E: sergey.schwartz@bgoperator.com
03.09.2015 14:06, Timo Sirainen пишет:
On 24 Jul 2015, at 12:58, Sergey Schwartz sergey.schwartz@bgoperator.com wrote:
I've got a bit more details
Jul 24 10:21:50 mx10 dovecot: imap(oleg.vasilyev@bgoperator.com): *Panic: file mail-index-util.c: line 37 (mail_index_uint32_to_offset): assertion failed: (offset < 0x40000000)* I think you have a huge >4 GB dovecot.index.cache file there?
participants (4)
-
Nutsch
-
Sergey Schwartz
-
Steffen Kaiser
-
Timo Sirainen