Mark Plaksin happy@usg.edu writes:
Mark Plaksin happy@usg.edu writes:
Timo Sirainen tss@iki.fi writes:
On Mon, 2005-10-24 at 12:57 -0400, Mark Plaksin wrote:
My IMAP client hangs intermittently. When it does, Dovecot has prematurely stopped sending a response and entered the poll loop. My client is waiting for more data and Dovecot is waiting for an IMAP command.
If you can easily reproduce this, could you try it with this patch:
http://dovecot.org/patches/hang-debug.diff>>> And show what the log files says after it hangs?
Running with CVS from 10.27.05 15:09 EDT and this patch, I get folder corruption. I can't easily reproduce it but it happens frequently (4 times in 3 hours this morning).
The patch looks innocuous so I suspect CVS. alpha4 doesn't have the problem. Is there anything in CVS which could have affected this? I'll update to the latest CVS and try some more.
After 24 hours, CVS from 10.31.05 11:09 EST has not corrupted any folders. Also, the original hang problem I reported has not recurred since I started running the CVS version on 10.27.05.
Perhaps all my troubles are over!
No such luck. It just hang. Everything (truss, rawlog, client log) looks the same as before. Here's the end of the debug output that the hang-debug patch added:
imap(happy): Warning: buffer_flush=1, flush_pending=0 imap(happy): Warning: cork changed, set=1, io=0 imap(happy): Warning: cork changed, set=0, io=0 imap(happy): Warning: buffer_flush=1, flush_pending=0 imap(happy): Warning: cork changed, set=1, io=0 imap(happy): Warning: cork changed, set=0, io=0 imap(happy): Warning: buffer_flush=1, flush_pending=0 imap(happy): Warning: cork changed, set=1, io=0 imap(happy): Warning: cork changed, set=0, io=0 imap(happy): Warning: buffer_flush=1, flush_pending=0 imap(happy): Warning: cork changed, set=1, io=0 imap(happy): Warning: func -> command_pending=1 imap(happy): Warning: _flush_pending -> 1 imap(happy): Warning: cork changed, set=0, io=0 imap(happy): Warning: buffer_flush=0, flush_pending=1 imap(happy): Warning: - adding2