David Friedlander
2006-May-01 20:31 UTC
[Dovecot] timeout_remove and "Timeout leak" problems
Hello,
I have run into troubles trying to jump from 1.0alpha5 (basically
running smoothly) to 1.0beta5 and/or beta7.
I am seeing errors such as the following set for nearly every user.
dovecot: May 01 16:21:02 Info: IMAP(joeuser): Disconnected: Logged out
dovecot: May 01 16:21:02 Error: IMAP(joeuser): file ioloop.c: line 153
(timeout_remove): assertion failed: (*timeout != NULL)
dovecot: May 01 16:21:03 Info: IMAP(joeuser): Disconnected: Logged out
dovecot: May 01 16:21:03 Warning: IMAP(joeuser): Timeout leak: 0x111acc
dovecot: May 01 16:21:03 Error: child 20607 (imap) killed with signal 6
(INBOX is on local RAID disks while home directory (hence, ~/Maildir) is
on a NetApp NFS file server.)
While I tweaked settings for the differences between the 1.0a5 conf file
and the beta conf file, things are fundamentally the same between them.
The other critical element to this is that imap-login sessions are being
left around and the load average climbs inexorably. (It reached 50 on this
dual dual-core machine before I killed things off and started the daemon
from scratch.)
This occurs for users using a whole array of clients: Thunderbird,
SquirrelMail, Eudora, Apple Mail, etc.
How can I track this down or can someone please help me figure out what is
happening here? (I have been unable to find answers between the mailing
list archives and Google.)
Thanks in advance,
David
P.S. The only item of note from examining ioloop.c was the differences
between the alpha and beta source code:
alpha5:
void timeout_remove(struct timeout *timeout)
{
i_assert(timeout != NULL);
timeout->destroyed = TRUE;
}
beta7:
void timeout_remove(struct timeout **timeout)
{
i_assert(*timeout != NULL);
(*timeout)->destroyed = TRUE;
*timeout = NULL;
}
On Mon, 2006-05-01 at 16:31 -0400, David Friedlander wrote:> Hello, > > I have run into troubles trying to jump from 1.0alpha5 (basically > running smoothly) to 1.0beta5 and/or beta7. > > > I am seeing errors such as the following set for nearly every user. > > dovecot: May 01 16:21:02 Info: IMAP(joeuser): Disconnected: Logged out > dovecot: May 01 16:21:02 Error: IMAP(joeuser): file ioloop.c: line 153 (timeout_remove): assertion failed: (*timeout != NULL)Could you get gdb backtrace from this so I could figure out where exactly it's crashing? See http://dovecot.org/bugreport.html> dovecot: May 01 16:21:03 Info: IMAP(joeuser): Disconnected: Logged out > dovecot: May 01 16:21:03 Warning: IMAP(joeuser): Timeout leak: 0x111accAnd here it would help if you show what this says: gdb /usr/local/libexec/dovecot/imap x 0x111acc> The other critical element to this is that imap-login sessions are being > left around and the load average climbs inexorably. (It reached 50 on this > dual dual-core machine before I killed things off and started the daemon > from scratch.)Hmm. I'm not sure if this has anything to do with the above problems. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20060503/7ae9a2b5/attachment.bin>