Hello,
I'm seeing a few backtraces like this ones in our daily log file.
It always seem to happen during UID SEARCH or UID SORT
I've already increased some process memory limits in the past and I'm currently using:
default_vsz_limit = 512 M
Is this some bug or I just need to increase this memory limit or some specific of a process?
Using Dovecot 2.3.13 on Gentoo Linux amd64
Build options: ioloop=epoll notify=inotify openssl io_block_size=8192 SQL drivers: mysql Passdb: checkpassword passwd passwd-file shadow sql Userdb: checkpassword passwd prefetch passwd-file sql
Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(backtrace_append+0x3d) [0x7efd24b8c04d] /usr/lib64/dovecot/libdovecot.so.0(backtrace_get+0x1e) [0x7efd24b8c15e] /usr/lib64/dovecot/libdovecot.so.0(+0xf4fcb) [0x7efd24b97fcb] /usr/lib64/dovecot/libdovecot.so.0(+0xf5061) [0x7efd24b98061] /usr/lib64/dovecot/libdovecot.so.0(+0x4e25b) [0x7efd24af125b] /usr/lib64/dovecot/libdovecot.so.0(+0x4fcf1) [0x7efd24af2cf1] /usr/lib64/dovecot/libdovecot.so.0(i_stream_read+0x2a) [0x7efd24ba3e3a] /usr/lib64/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7efd24ba477d] /usr/lib64/dovecot/libdovecot.so.0(message_parse_header_next+0x69) [0x7efd24b766b9] /usr/lib64/dovecot/libdovecot.so.0(+0xd613a) [0x7efd24b7913a] /usr/lib64/dovecot/libdovecot.so.0(+0xd62bf) [0x7efd24b792bf] /usr/lib64/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x44) [0x7efd24b78894] /usr/lib64/dovecot/libdovecot.so.0(message_search_msg+0xa0) [0x7efd24b7acd0] /usr/lib64/dovecot/libdovecot-storage.so.0(+0xcec2e) [0x7efd24f2ec2e] /usr/lib64/dovecot/libdovecot-storage.so.0(+0x517c9) [0x7efd24eb17c9] /usr/lib64/dovecot/libdovecot-storage.so.0(mail_search_args_foreach+0x45) [0x7efd24eb27f5] /usr/lib64/dovecot/libdovecot-storage.so.0(+0xcf96b) [0x7efd24f2f96b] /usr/lib64/dovecot/libdovecot-storage.so.0(+0xd0d29) [0x7efd24f30d29] /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x61) [0x7efd24f313b1] /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x20) [0x7efd24ebc240] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT
[0x564e1e21de97] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT [0x564e1e21e70c] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT [0x564e1e21058b] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT [0x564e1e216d74] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT
[0x564e1e214eaf] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT
[0x564e1e214f62] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT
[0x564e1e215133] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT [0x564e1e21532d] dovecot/imap someuser2@ourdom 2001:1234::fb8 UID SORT [0x564e1e2157e2] /usr/lib64/dovecot/libdovecot.so.0(io_loop_call_io+0x69) [0x7efd24bad989]
Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(backtrace_append+0x3d) [0x7f3c6b7b104d] /usr/lib64/dovecot/libdovecot.so.0(backtrace_get+0x1e) [0x7f3c6b7b115e] /usr/lib64/dovecot/libdovecot.so.0(+0xf4fcb) [0x7f3c6b7bcfcb] /usr/lib64/dovecot/libdovecot.so.0(+0xf5061) [0x7f3c6b7bd061] /usr/lib64/dovecot/libdovecot.so.0(+0x4e25b) [0x7f3c6b71625b] /usr/lib64/dovecot/libdovecot.so.0(+0x4fcf1) [0x7f3c6b717cf1] /usr/lib64/dovecot/libdovecot.so.0(i_stream_read+0x2a) [0x7f3c6b7c8e3a] /usr/lib64/dovecot/libdovecot.so.0(i_stream_read_data+0x3d) [0x7f3c6b7c977d] /usr/lib64/dovecot/libdovecot.so.0(message_parse_header_next+0x69) [0x7f3c6b79b6b9] /usr/lib64/dovecot/libdovecot.so.0(+0xd613a) [0x7f3c6b79e13a] /usr/lib64/dovecot/libdovecot.so.0(+0xd62bf) [0x7f3c6b79e2bf] /usr/lib64/dovecot/libdovecot.so.0(message_parser_parse_next_block+0x44) [0x7f3c6b79d894] /usr/lib64/dovecot/libdovecot.so.0(message_search_msg+0xa0) [0x7f3c6b79fcd0] /usr/lib64/dovecot/libdovecot-storage.so.0(+0xcec2e) [0x7f3c6bb53c2e] /usr/lib64/dovecot/libdovecot-storage.so.0(+0x517c9) [0x7f3c6bad67c9] /usr/lib64/dovecot/libdovecot-storage.so.0(mail_search_args_foreach+0x45) [0x7f3c6bad77f5] /usr/lib64/dovecot/libdovecot-storage.so.0(+0xcf96b) [0x7f3c6bb5496b] /usr/lib64/dovecot/libdovecot-storage.so.0(+0xd0d29) [0x7f3c6bb55d29] /usr/lib64/dovecot/libdovecot-storage.so.0(index_storage_search_next_nonblock+0x10d) [0x7f3c6bb5645d] /usr/lib64/dovecot/libdovecot-storage.so.0(mailbox_search_next_nonblock+0x20) [0x7f3c6bae1240] dovecot/imap someuser@ourdom 192.168.166.58 UID SEARCH [0x563bbf06de97] dovecot/imap someuser@ourdom 192.168.166.58 UID SEARCH [0x563bbf066d74] dovecot/imap someuser@ourdom 192.168.166.58 UID SEARCH [0x563bbf06d5e2] /usr/lib64/dovecot/libdovecot.so.0(io_loop_handle_timeouts+0x123)
[0x7f3c6b7d27b3] /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xc7) [0x7f3c6b7d3ed7] /usr/lib64/dovecot/libdovecot.so.0(io_loop_handler_run+0x50) [0x7f3c6b7d2a30] /usr/lib64/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7f3c6b7d2ba0] /usr/lib64/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7f3c6b74a393] dovecot/imap someuser@ourdom 192.168.166.58 UID SEARCH [0x563bbf0571a9] /lib64/libc.so.6(__libc_start_main+0xeb) [0x7f3c6b33182b] regards!
-- Best regards,