offlineimap hangs

chris coleman christocoleman at
Sat Mar 3 21:55:29 GMT 2012

A suggestion.  Why not add a watchdog process, which will kill and restart OLI if/when it hangs, becomes unresponsive, or otherwise stops processing, for X amount of time.

From: Bhaskara Marthi <bhaskara at>
Sent: Saturday, February 25, 2012 10:32 PM

I've noticed that offlineimap sometimes becomes unresponsive.  Here is an example trace:

Licensed under the GNU GPL v2+ (v2 or any later version)
Account sync gm:
*** Processing account gm 
Account sync wgm:
*** Processing account wgm 
Account sync gm: 
Establishing connection to
Account sync wgm: 
Establishing connection to
Enter password for account 'GmRemote':
Enter password for account 'WgmRemote':
Folder INBOX [acc: gm]:
Syncing INBOX: Gmail -> Maildir
Folder Sent Messages [acc: gm]:
Syncing Sent Messages: Gmail -> Maildir 
Folder INBOX [acc: gm]:
Deleting 3 messages (64271:64273) in Maildir[INBOX]
Folder [Gmail]/All Mail [acc: gm]:
Syncing [Gmail]/All Mail: Gmail -> Maildir
Folder [Gmail]/All Mail [acc: wgm]:
Syncing [Gmail]/All Mail: Gmail -> Maildir 
Folder [Gmail]/Sent Mail [acc: gm]: 
Syncing [Gmail]/Sent Mail: Gmail -> Maildir
Copy message 14296 (1 of 13) GmRemote:[Gmail]/Sent Mail -> GmLocal

At this point, offlineimap became unresponsive for several minutes.  Eventually I hit control-C and got a "Terminating NOW" message, but again nothing happened for a few minutes; the only way to force it to quit was with a SIGQUIT (Control-\). 

Is this a known issue?
- Bhaskara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the OfflineIMAP-project mailing list