[Akonadi] [Bug 334216] New: synchronizes folder with filesystem after downloading and filtering mails needlessly

Martin Steigerwald Martin at Lichtvoll.de
Fri May 2 12:07:15 BST 2014


https://bugs.kde.org/show_bug.cgi?id=334216

            Bug ID: 334216
           Summary: synchronizes folder with filesystem after downloading
                    and filtering mails needlessly
    Classification: Unclassified
           Product: Akonadi
           Version: GIT (master)
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: Martin at Lichtvoll.de

After I download and filter mails often Akonadi synchronizes folder with
filesystem needlessly.

Reproducible: Sometimes

Steps to Reproduce:
1. Have large folders.
2. Have some mailing list subscribed
3. Have some filter rules
4. Wait a while
5. Download and filter mails.

I do downloading and filtering separately as to weed out spam before I do the
filtering (due to Bug #319226 - produces 1-byte-sized on processing crm114 spam
filter rules).
Actual Results:  
Akonadi maildir resource hogs one core for minutes on synchronizing folder with
filesystem contents. I didnĀ“t verify it with strace again, but I am pretty sure
it does the same as in bug #334209. Stating each file in the maildir folder.

Expected Results:  
No synchronisation with filesystem, cause:

1) Akonadi uses Inotify to watch for folder changes.

2) Akonadi mailfilter moves mails with Akonadi. So Akonadi is supposed to know
where these mails are now.

Akonadi git 159bfbdf8667bb01b1f4c85ea144ca128ccb3195.

ThinkPad T520, Sandybridge, Dual SSD BTRFS RAID 1 allowing concurrent accesses
to two SATA-300 connected SSDs.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list