"Stalls" in v6.3.3 - memory leak?

Nicolas Sebrecht nicolas.s-dev at laposte.net
Tue Apr 26 16:32:03 UTC 2011


On Tue, Apr 26, 2011 at 09:49:17AM +0200, Sebastian Spaeth wrote:
> On Mon, 25 Apr 2011 21:48:49 -0700, Nick Kirsch <nick at kirsch.org> wrote:
> > I'm running offlineimap v6.3.3 and it appears to stall (which looks like malloc issues). I'm syncing from Exchange IMAP to a Dovecot IMAP server and I've noticed that the memory usage spikes to over 370 MB resident and over 540 MB virtual. I need to repeatedly kill python and restart it in order to make it through my mailbox set.
> > 
> > This does not occur with the stock offlineimap included with the distribution (6.2.0)
> > 
> > This is with Python 2.6.4 on Ubuntu 10. 
> > 
> > Any suggestions? Any thing you'd like me to try?
> 
> One thing that would be good is to collect a debug log with "-d imap -l
> debug.log" and (after purging it from sensitive passwords/email bodies), making it
> available either publically or privately (e.g. to me or Nicolas, the
> current maintainer), so we can see what is going on during those
> "stalls". Also if you can connect via "sudo strace -p
> <pidnumberofprocess>" to see what offlineimap is doing during those
> stalls that would be helping.
> 
> We have been replacing the "heart" imaplib (which is pretty unmaintained
> and raw compared to other python libraries), with imaplib2, and that
> might well have introduced some instabilities.

On top of Sebastian request, it would be nice if you could bisect this
bug. I would start from v6.3.2.

-- 
Nicolas Sebrecht



More information about the OfflineIMAP-project mailing list