Package: offlineimap
Version: 6.0.3
Severity: normal

About once a year, I connect to imap.gmail.com with mutt and delete
lots of mail -- duplicates, anything archived on a mailing list, spam,
etc.

I did this just now, and ended up deleting around 20,000 messages.
When I run offlineimap, it happily prints that it will delete stuff
from "[...]) in Maildir[all], LocalStatus[all]".  And indeed, almost
immediately I can see with du that the maildir folder has gone from
290MB to 100MB.  Admirably efficient.

But offlineimap doesn't stop.  So far it has been running for
twenty-five minutes, and in that time has used up 13 minutes of CPU
(i.e. about 50% CPU utilization).

Clearly something extremely suboptimal is going on here.  If I had to
guess, I would suspect the problem is that offlineimap is repeatedly
opening its ~/.offlineimap metadata, deleting a single message, then
closing those files again.

This problem may also be exacerbated by the fact that my nonvolatile
storage is an SSD, which (I hear) has slow write speeds compared to a
traditional HDD.  The disk activity light is blinking at around 2Hz.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages offlineimap depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                0.8.7      automated rebuilding support for P

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
pn  python-kerberos               <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to