In data venerdì 7 settembre 2018 18:43:36 CEST, Timo Sirainen ha scritto:
Hi Timo; it happened again, this time on a "high-performance" instance (e.g., WITH service_count=0)
On 7 Sep 2018, at 16.50, Simone Lazzaris s.lazzaris@interactive.eu wrote:
Some more information: the issue has just occurred, again on an instance without the "service_count = 0" configuration directive on pop3-login. Could you also try two more things when it happens again:
ltrace -tt -e '*' -o ltrace.log -p <pid> (My guess this isn't going to be very useful, but just in case it might be..)
Done; unfortunately, ltrace.log is empty.
gdb -p <pid> bt full quit
Here it is:
root@imapfront2:/usr/local/src/dovecot-2.2.36/src# gdb -p 31635
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Attaching to process 31635
Reading symbols from /usr/local/libexec/dovecot/director...done.
Reading symbols from /usr/local/lib/dovecot/libdovecot.so.0...done.
Loaded symbols for /usr/local/lib/dovecot/libdovecot.so.0
Reading symbols from /lib/i386-linux-gnu/i686/cmov/libc.so.6...(no debugging
symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/libc.so.6
Reading symbols from /lib/i386-linux-gnu/i686/cmov/libdl.so.2...(no debugging
symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/libdl.so.2
Reading symbols from /lib/i386-linux-gnu/i686/cmov/librt.so.1...(no debugging
symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/librt.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0...(no
debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/
libthread_db.so.1".
Loaded symbols for /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
0xb76fa428 in __kernel_vsyscall ()
(gdb) bt full
#0 0xb76fa428 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb752929e in epoll_ctl () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
No symbol table info available.
#2 0xb7678aa0 in io_loop_handle_add (io=io@entry=0x815db90) at ioloop-
epoll.c:106
ctx = 0x8144e98
list = 0x814556c
event = {events = 27, data = {ptr = 0x815c160, fd = 135643488, u32 =
135643488, u64 = 135643488}}
op = 1
first = <optimized out>
#3 0xb7676a7d in io_add_file (fd=fd@entry=27,
condition=condition@entry=IO_READ,
source_filename=source_filename@entry=0x805f7f4 "doveadm-connection.c",
source_linenum=source_linenum@entry=1070,
callback=callback@entry=0x8057e10
Inferior 1 [process 31635] will be detached.
Quit anyway? (y or n) y
Preferably install dovecot-dbg package also so the gdb backtrace output will be better.
Well, I've compiled dovecot from the source, so I don't have a package. I'll try your patch on a server or two, and see if it solve the issues for them.
-- Simone Lazzaris Qcom SpA