offlineimap hangs, has to stopped with kill -9

Henry Gebhardt hsggebhardt at
Tue Oct 14 04:36:30 BST 2014

On Fri, Sep 05, 2014 at 08:06:27AM +0200, Niels Kobsch├Ątzki wrote:
> On Thu, Sep 4, 2014, at 21:34, Ian Kelling wrote:
> > I run offlineimap in a cronjob every 5 minutes, unless it is already
> > running. Every few days, I find the process hung. It doesn't respond
> > to normal kill messages, except but kill -9. So I cloned the git
> > repo, ran it from there, and next time it happened, I attached gdb
> > and did a trace.  I didn't have much time, and printed a few pages
> > of the call stack, assumed there was a repeating pattern then quit.
> > I'm going to have to add some logic to kill -9 offlineimap.
> > 
> > My os is ubuntu 14.04.
> > 
> > The stack trace is attached.
> > 
> > Any idea whats going on? Is this a bug?
> Unfortunately not but I have the same problem. It seems that it always
> occurs after the computer was suspended. Maybe a problem when
> offlineimap runs and exactly in that moment the computer gets
> suspended?

I observe the same. It seems to only occur with my GMail account. The
other accounts finish syncing fine. Since I always start offlineimap
manually, I don't think it is related to suspend.


More information about the OfflineIMAP-project mailing list