[Dovecot] dovecot-20070605 runtime problems
David Favor
david at davidfavor.com
Mon Jun 11 18:06:30 EEST 2007
David Favor wrote:
> Seems to have had something to do with pam occasionally losing it's
> marbles.
> I've removed pam from my config file and all works well now with latest
> dovecot
> with latest openssl development nightly snapshot.
>
> - David
>
> Timo Sirainen wrote:
>> On Sun, 2007-06-10 at 21:12 -0500, David Favor wrote:
>>> The 20070605 version of dovecot starts up doing ssl protocol perfect,
>>> then after clicking a few directories, then when clicking back to INBOX,
>>> dovecot hangs. There is no logging info, even with --enable-debug
>>> on and all .conf file directives I can find. Doing a 'ngrep port 993'
>>> shows no SSL dialog.
>>
>> 1) Enable rawlog to see what were the last commands and their output.
>> http://dovecot.org/bugreport.html
>>
>> 2) strace the running imap process to see if it's just waiting in
>> epoll() or if it's doing something else.
There is no imap process to strace. Here's the ps -A | grep dovecot at the time:
dovecot dovecot 30905 30912 24 09:50 420 00:00:00 0.0 0.1 imap-login imap-login
dovecot dovecot 30905 30913 24 09:50 420 00:00:00 0.0 0.1 imap-login imap-login
dovecot dovecot 30905 30910 24 09:50 420 00:00:00 0.0 0.1 imap-login imap-login
dovecot dovecot 30905 30911 24 09:50 424 00:00:00 0.0 0.1 imap-login imap-login
root root 30111 326 23 10:04 240 00:00:00 0.0 0.0 grep grep dovecot
root root 1 30905 24 09:50 264 00:00:00 0.0 0.0 dovecot \
/usr/local/pkgs/dovecot-20070605/sbin/dovecot -c /tools/conf/dovecot.conf
root root 30905 30906 24 09:50 420 00:00:00 0.0 0.0 dovecot-auth dovecot-auth
dovecot dovecot 30905 30909 24 09:50 272 00:00:00 0.0 0.1 imap-login imap-login
>>> My primary question is howto debug this hang, short of attaching gdb
>>> to the process.
>>
>> If it's not in epoll(), getting a gdb backtrace would be helpful too.
>>
>> Hmm. Or the above things matter only if the problem is with imap process
>> and not with handling the SSL connection. So it would also be good to
>> know if it hangs also without SSL.
>>
>> BTW. --enable-debug doesn't make Dovecot log any more than it normally
>> does. It instead enables some extra code that makes Dovecot do more
>> sanity checks so I can notice sooner if I break something. Unless you're
>> modifying Dovecot's sources yourself it most likely isn't very useful.
>>
>
>
--
Like feeling your best ever, all day, every day? Here's how...
Your simple secrets are here - http://RadicalHealth.com
More information about the dovecot
mailing list