KMail and Akonadi throwing thousands of errors

Bill Gee bgee at campercaver.net
Tue Sep 7 19:23:12 BST 2021


Hello everyone -

I have finally reached a level of annoyance that causes me to ask for 
some help. KMail and Akonadi are just not behaving. In KMail I often 
will delete a message, then watch the system take two or three minutes 
before the message disappears. This morning I had a message that it 
would not delete at all. When I clicked on the message, KMail said it 
was attempting to copy the content. Twenty minutes later it was still 
copying the content.

I restarted the akonadi server with "akonadictl restart", then ran both 
"akonadictl fsck" and "akonadictl vacuum". That did not help - KMail 
will still not delete the stuck message. I started Thunderbird and it 
took almost 1 second to delete the message.

In the system log file I see tens of thousands of messages that look 
like this:


org.kde.pim.akonadiserver: ItemRetrievalManager posting retrieval 
request for items QVector(10411, 10412, 10413, 10415, 10416, 10417, 
10418, 10420, 10421, 10422, 10423) to "akonadi_maildir_resource_0" . 
There are 0 request queues and 0 items mine
org.kde.pim.akonadiserver: ItemRetrievalJob 
Akonadi::Server::ItemRetrievalJob(0x7f33dc0091f0) started for request 78
org.kde.pim.akonadiserver: processing retrieval request for item 
QVector(10411, 10412, 10413, 10415, 10416, 10417, 10418, 10420, 10421, 
10422, 10423)  parts: ("RFC822")  of resource: "akonadi_maildir_resource_0"
org.kde.pim.akonadiserver: ItemRetrievalJob for request 78 finished
org.kde.pim.maildispatcher: Item  10423 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10422 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10421 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10420 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10418 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10417 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10416 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10415 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10413 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10412 does not have the required 
attribute Address.
org.kde.pim.maildispatcher: Item  10411 does not have the required 
attribute Address.

The request number is incremented at every iteration, but the other 
items do not change. A new message is generated about every 3 or 4 seconds.

The system is Fedora 34 running KDE Plasma 5.22.4 and KDE Frameworks 
5.85.0. I am running x11 for graphics server. The email account is 
connected through IMAP to a Postfix/Dovecot server running on CentOS7.

Is there any way to fix this?

Thanks - Bill Gee




-- 
===============
Bill Gee


More information about the kdepim-users mailing list