High CPU usage on large gmail attachments

Rob Browning rlb at defaultvalue.org
Sat Oct 9 01:10:54 BST 2010


Ng Oon-Ee <ngoonee at gmail.com> writes:

> Another interesting thing is that some emails which cause the 100% CPU
> hang will download okay the next round, but some just can't after
> multiple tries.

That sounds like a threading problem I've experienced.  As a temporary
measure I eventually just disabled threading.  In Base.py:

               if not uid in dest_messagelist:
  -                if self.suggeststhreads():
  +                if False:

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




More information about the OfflineIMAP-project mailing list