[Akonadi] [Bug 422336] kmail: the access and reading of the received messages is often very slow

Martin Steigerwald bugzilla_noreply at kde.org
Fri Jun 5 17:05:03 BST 2020


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

Martin Steigerwald <Martin at Lichtvoll.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Maildir Resource
            Product|kmail2                      |Akonadi
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1
                 CC|                            |Martin at Lichtvoll.de

--- Comment #5 from Martin Steigerwald <Martin at Lichtvoll.de> ---
Reassigning to Akonadi. I can not select maildir resource at the moment, I bet
I first need to save the comment and then I will reassign to maildir resource.
That is what I believe where the issue happens.

I confirm this. I am using KDEPIM 20.04 with KMail and Akonadi 5.14.1 on Debian
Sid with PostgreSQL database.

OBSERVED RESULT

Compared to KDEPIM / Akonadi 19.08 synchronizing a mail folder even with just a
few thousand mails takes much, much longer. It easily takes a minute or more
during which Akonadi does not respond to KMail requesting the payload of a mail
anymore. This needs to the "Retrieving folder contents" when clicking on a mail
Akonadi did not retrieve recently before.

During the synchronization it consumes 100% of one Intel Sandybridge Mobile i5
CPU core for a minute or longer. I checked once with strace and it was polling
several dozens if not more times a second on an eventfd. If you have some
instructions I can try to find out more about what the maildir resource is
doing at during those slow synchronization operations.

EXPECTED RESULT

1. Akonadi maildir resource works as fast as with KDEPIM / Akonadi 19.08
before.

2. Akonadi never ever blocks an immediate user request for displaying a mail
while performing a background task but this I already reported in:

[Akonadi] [Bug 367892] New: During folder synchronization Akonadi blocks out
other operations like deleting or viewing mails.

3. It does not needlessly synchronize local folders. For local mails during
runtime Akonadi as already an inotify watch on every folder. Yet it
synchronizes the same folders several times during Akonadi session even *tough*
Akonadi is *the only* one writing to it. I also reported this one already in:

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

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


More information about the Kdepim-bugs mailing list