On Wed, 2010-07-14 at 12:30 +0100, Timo Sirainen wrote:
On 14.7.2010, at 9.55, Brandon Davidson wrote:
If I attach to the stuck imap-login process, it's waiting in: #0 0x000000385c0c6070 in __write_nocancel () from /lib64/libc.so.6 #1 0x0000003c5620c9a1 in login_proxy_state_notify () from /usr/lib64/dovecot/libdovecot-login.so.0
Oh, interesting. Login processes are notifying director every once in a while about connections. And looks like director isn't reading the replies, at least fast enough.. Did you check how long it was struck in this write? Forever?
I can easily change this write to be nonblocking and just retry later instead of hanging, but there is still a bug if director never reads it..
This should fix it: http://hg.dovecot.org/dovecot-2.0/rev/510b627687f8