On 22.9.2012, at 22.57, Joe Auty wrote:
I'm seeing a lot of these in my /var/log/messages in Debian Squeeze, I suspect this might be causing performance issues. Any suggestions what I can try to fix this?
[7236671.301179] imap-login[9306]: segfault at 28 ip 00007f9ff83c7e14 sp 00007fff49d385c0 error 4 in libdovecot.so.0.0.0[7f9ff837c000+8b000]
You should have a similar log line about the crash in mail.log (or wherever "doveadm log find" says that errors get logged). Find those lines, then configure login processes to dump core files. This probably should work:
service imap-login { executable = imap-login -D }
Next time it crashes hopefully you'll have /var/run/dovecot/login/core* file(s). Get a gdb backtrace from it send it:
gdb /usr/lib/dovecot/imap-login /var/run/dovecot/login/core bt full