This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kmail & Akonadi Performance Issues

Tags: None
(comma "," separated)
ianscott
Registered Member
Posts
23
Karma
0

Kmail & Akonadi Performance Issues

Mon Jan 02, 2017 10:40 pm
I've been a KDE and Kmail user since about 2003. Originally, I loved Kmail - but recently, it's become horrible to use. I don't really want to have to migrate to another email application - I've years and years worth of emails in Kmail - and for archival and legal purposes, I need to keep them.

Presently, I'm using OpenSuse Tumbleweed.

First Issue:

Although I had Kmail configured to leave email on the server for 7 days, I recently discovered it was not doing that. It was just leaving email on the server and it was not being deleted after 7 days. A few weeks ago, there were updates from OpenSuse - and after they were done, I started Kontact - but akonadi would not start. The error was something about not being able to connect to the socket file. In another forum, I was advised to delete the socket file and try again.

That worked - but then I spent hours downloading months and months of emails that should have been deleted from the server. Thousands of emails.

I am not sure if this is significant, but am using POP3 over SSL/TLS port 995.

Second Issue:

This is a huge issue for me. I am regulary spending hours daily stopping, starting, fsck, vacuum akonadi.

All it takes is for me to delete 5 or 6 emails from the inbox and kmail just hangs with "Retrieving Folder Contents Please Wait" and a message at the bottom, "moving messages to trash..."

I can walk away from my PC, go get something to eat for an hour, come back - and it says the same thing, or at the bottom, it will eventually have another message about being unable to connect to the backend (I can't recall the exact message but it is something like that).

So I shutdown Kmail, stop akonadi with akonadictl stop, then wait.... then start... and things work fine for a short time, and then we're back to do this all over again.

It's really really frustrating as you might imagine.

Can anyone help to troubleshoot what the problem is, or is this behaviour now to be expected with kmail and akonadi?

Version KMail 5.4.0
ianscott
Registered Member
Posts
23
Karma
0
Well, it seems Kmail has become utterly useless for me as an email app. After playing around with akonadictl fsck and vacuum - shut everything down last and went to sleep.

Opened it this morning, it downloaded new email. I deleted about 11 of them before clicking on a message I wanted to read and am stuck on "Retrieving Folder Contents... please wait."
ianscott
Registered Member
Posts
23
Karma
0
I do not know if this is useful information or relevant as I am not sure what the expected results should be.

However, if I run akonadictl fsck - I get a list of items marked RID and dirty.

I also see a list a of duplicates.

If I run akonadictl fsck a second time, it appears I get the same list of items and duplicates. The output is very long - and although I tried to redirect the output to a file in case it was useful information, it would not write to the file for some reason.

But is it odd that akonadictl fsck finds the same items and duplicates a second time, after its first run?
ianscott
Registered Member
Posts
23
Karma
0
More observations if it is helpful in diagnosing this.

Even after running akonadictl fsck and vacuum, there are duplicate emails, which I had previously tried to delete, in the Inbox. They will just not go away. When going through my message list, and highlighting any of those, kmail just stops working.

Also, there is an email that I have read, but continues to appear as "unread."
User avatar
Rewarp
Registered Member
Posts
70
Karma
0
OS
I came here to see if anyone else is also experiencing KMail issues because of akonadi.

On my desktop machine running openSUSE Tumbleweed, I deleted the akonadi files as well, and just re-downloaded all the emails from all of my email account providers. This was because for some odd reason, akonadi just refused to start-up today.

Anyway, the issue seems to be resolved for now, but the terminal output for akonadictl shows:

org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 37856 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 37856 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 37857 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 37857 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 37857 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 37857 ""


What do these messages mean?
User avatar
Rewarp
Registered Member
Posts
70
Karma
0
OS
ianscott wrote:More observations if it is helpful in diagnosing this.

Even after running akonadictl fsck and vacuum, there are duplicate emails, which I had previously tried to delete, in the Inbox. They will just not go away. When going through my message list, and highlighting any of those, kmail just stops working.

Also, there is an email that I have read, but continues to appear as "unread."


I also have this problem. It is really annoying, but I thought it was just me.
ianscott
Registered Member
Posts
23
Karma
0
Well... no one seems to have any ideas on how to troubleshoot or correct this, and Kmail has become utterly useless for me :(

I delete a few emails and it just hangs.

The Inbox has a totally garbled view of new messages - just a bunch of grey lines.

akonadictl fsck and vacuum appear to do nothing.

It's unfortunate that after so many years, kmail now seems to have so many problems, at least for me.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
The main problem is that, at least speaking for myself, I've never seen such issues and so the causes are unknown to me. It would help if you paste any relevant output *when* the problem occurs, after running "akonadictl restart" on the command line.

You can increase verbosity by installing "kdebugsettings" and activating debug for entries that start with "akonadi".


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
ianscott
Registered Member
Posts
23
Karma
0
einar wrote:The main problem is that, at least speaking for myself, I've never seen such issues and so the causes are unknown to me. It would help if you paste any relevant output *when* the problem occurs, after running "akonadictl restart" on the command line.

You can increase verbosity by installing "kdebugsettings" and activating debug for entries that start with "akonadi".


Okay. I have installed kdebugsettings.

I restarted akonadictl.

I tried to delete about 100 email messages in my inbox. It appeared to delete some of them, but then just froze up. About ten minutes later, kmail, at the very bottom said something about not being able to connect to the back end.

In the console where I restarted akonadictl - I have no idea what is relevant to paste, but I'll paste some lines here:

rg.kde.pim.akonadi_indexer_agent: Indexing item 628258
org.kde.pim.akonadi_indexer_agent: Indexing Delivery #D-4686080
org.kde.pim.akonadi_indexer_agent: DONE Indexing item 628258
org.kde.pim.akonadi_indexer_agent: CollectionIndexingJob::slotPendingItemsReceived 1
org.kde.pim.akonadi_indexer_agent: void CollectionIndexingJob::slotPendingItemsReceived(const Akonadi::Item::List &items) 628257
org.kde.pim.akonadi_indexer_agent: Indexing item 628257
org.kde.pim.akonadi_indexer_agent: Indexing Invoice INV00005192
org.kde.pim.akonadi_indexer_agent: DONE Indexing item 628257
org.kde.pim.akonadi_indexer_agent: CollectionIndexingJob::slotPendingItemsReceived 1
org.kde.pim.akonadi_indexer_agent: void CollectionIndexingJob::slotPendingItemsReceived(const Akonadi::Item::List &items) 628256
org.kde.pim.akonadi_indexer_agent: Indexing item 628256
org.kde.pim.akonadi_indexer_agent: Indexing @HealthyHappyYes, create a campaign today
org.kde.pim.akonadi_indexer_agent: DONE Indexing item 628256
org.kde.pim.akonadi_indexer_agent: CollectionIndexingJob::slotPendingItemsReceived 1
org.kde.pim.akonadi_indexer_agent: void CollectionIndexingJob::slotPendingItemsReceived(const Akonadi::Item::List &items) 628255
org.kde.pim.akonadi_indexer_agent: Indexing item 628255
org.kde.pim.akonadi_indexer_agent: Indexing Package
org.kde.pim.akonadi_indexer_agent: DONE Indexing item 628255
org.kde.pim.akonadi_indexer_agent: CollectionIndexingJob::slotPendingItemsReceived 1
org.kde.pim.akonadi_indexer_agent: void CollectionIndexingJob::slotPendingItemsReceived(const Akonadi::Item::List &items) 628254
org.kde.pim.akonadi_indexer_agent: Indexing item 628254
org.kde.pim.akonadi_indexer_agent: Indexing Receipt 69914 from The Music Zoo
org.kde.pim.akonadi_indexer_agent: DONE Indexing item 628254
org.kde.pim.akonadi_indexer_agent: CollectionIndexingJob::slotPendingItemsReceived 1
org.kde.pim.akonadi_indexer_agent: void CollectionIndexingJob::slotPendingItemsReceived(const Akonadi::Item::List &items) 628253
org.kde.pim.akonadi_indexer_agent: Indexing item 628253
org.kde.pim.akonadi_indexer_agent: Indexing Out of stock
org.kde.pim.akonadi_indexer_agent: DONE Indexing item 628253
org.kde.pim.akonadi_indexer_agent: CollectionIndexingJob::slotPendingIndexed
org.kde.pim.akonadi_indexer_agent: Indexed 17 items in (ms): 134
org.kde.pim.akonadi_indexer_agent: Indexing complete. Total time: 153
org.kde.pim.akonadi_indexer_agent: Processing done
org.kde.pim.akonadiserver: Executing search "searchUpdate-1484280605"
org.kde.pim.akonadiplugin_indexer: Got 0 results
org.kde.pim.akonadiserver: searchUpdateResultsAvailable 58 0 results
org.kde.pim.akonadiserver: Got 0 results, out of which 0 are already in the collection
org.kde.pim.akonadiserver: Added 0
org.kde.pim.akonadiserver: Search done "searchUpdate-1484280605" (without remote search)
org.kde.pim.akonadiserver: Search update finished
org.kde.pim.akonadiserver: All results: 0
org.kde.pim.akonadiserver: Removed results: 0
org.kde.pim.akonadiserver: Executing search "searchUpdate-1484280605"
org.kde.pim.akonadiplugin_indexer: Got 0 results
org.kde.pim.akonadiserver: searchUpdateResultsAvailable 57 0 results
org.kde.pim.akonadiserver: Got 0 results, out of which 0 are already in the collection
org.kde.pim.akonadiserver: Added 0
org.kde.pim.akonadiserver: Search done "searchUpdate-1484280605" (without remote search)
org.kde.pim.akonadiserver: Search update finished
org.kde.pim.akonadiserver: All results: 0
org.kde.pim.akonadiserver: Removed results: 0
org.kde.pim.akonadiserver: ItemRetrievalJob finished for request 0x7f139c0f2e00 , error: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
org.kde.pim.akonadiserver: posting retrieval request for items (607638) there are 1 queues and 0 items in mine
org.kde.pim.akonadiserver: ItemRetrievalJob Akonadi::Server::ItemRetrievalJob(0x7f13b802c940) started for request 0x7f139c0e3170
org.kde.pim.akonadiserver: processing retrieval request for item (607638) parts: ("HEAD", "RFC822") of resource: "akonadi_maildir_resource_0"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: ItemRetrievalJob finished for request 0x7f139c0e3170 , error: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 628269 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 628269 ""
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 628269 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 628269 ""
org.kde.pim.akonadiserver: posting retrieval request for items (611228) there are 1 queues and 0 items in mine
org.kde.pim.akonadiserver: ItemRetrievalJob Akonadi::Server::ItemRetrievalJob(0x7f13b80302a0) started for request 0x7f139c099fc0
org.kde.pim.akonadiserver: processing retrieval request for item (611228) parts: ("RFC822") of resource: "akonadi_maildir_resource_0"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
false
false
org.kde.pim.akonadiserver: Executing search "searchUpdate-1484281206"
org.kde.pim.akonadiplugin_indexer: Got 0 results
org.kde.pim.akonadiserver: searchUpdateResultsAvailable 58 0 results
org.kde.pim.akonadiserver: Got 0 results, out of which 0 are already in the collection
org.kde.pim.akonadiserver: Added 0
org.kde.pim.akonadiserver: Search done "searchUpdate-1484281206" (without remote search)
org.kde.pim.akonadiserver: Search update finished
org.kde.pim.akonadiserver: All results: 0
org.kde.pim.akonadiserver: Removed results: 0
org.kde.pim.akonadiserver: Executing search "searchUpdate-1484281206"
org.kde.pim.akonadiplugin_indexer: Got 0 results
org.kde.pim.akonadiserver: searchUpdateResultsAvailable 57 0 results
org.kde.pim.akonadiserver: Got 0 results, out of which 0 are already in the collection
org.kde.pim.akonadiserver: Added 0
org.kde.pim.akonadiserver: Search done "searchUpdate-1484281206" (without remote search)
org.kde.pim.akonadiserver: Search update finished
org.kde.pim.akonadiserver: All results: 0
org.kde.pim.akonadiserver: Removed results: 0

*********************************************************

I go back to kmail, and it says "Ready" at the bottom, but I can still see many many of the emails I tried to delete, greyed out.

Every email that I try to delete seems to take at least three seconds then the time increases and increases - up to where it seems kmail is just frozen.

So then at the command line, I run akonadictl fsck and get lots of output.

But kmail is still frozen.

Then I run akonadictl restart and after a few moments, I can see my inbox email listing but in the preview pane, it is stuck on "Retrieving Folder Contents Please Wait."

In the console, I see tons of lines of output - and have no clue what is relevant but the last several dozen lines:
org.kde.pim.akonadicore: registering Desktop file "/usr/share/akonadi/plugins/serializer//akonadi_serializer_mail.desktop" for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", "default", "KMime::Message*")
org.kde.pim.akonadicore: ItemSerializerPluginLoader: found 32 plugins.

org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.archived@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.akonadi.note@KCalCore::Incidence*"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.akonadi.note@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.contactgroup@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "message/news@KMime::Message*"
org.kde.pim.akonadicore: PLUGIN : identifier "text/directory@KContacts::Addressee"
org.kde.pim.akonadicore: PLUGIN : identifier "text/vcard@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.template@default"
org.kde.pim.akonadicore: PLUGIN : identifier "message/news@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.archived@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "text/calendar@default"
org.kde.pim.akonadicore: PLUGIN : identifier "message/rfc822@KMime::Message*"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.active@default"
org.kde.pim.akonadicore: PLUGIN : identifier "text/calendar@KCalCore::Incidence*"
org.kde.pim.akonadicore: PLUGIN : identifier "text/directory@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.contactgroup@KContacts::ContactGroup"
org.kde.pim.akonadicore: PLUGIN : identifier "text/x-vnd.akonadi.note@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.notes@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.notes@KCalCore::Incidence*"
org.kde.pim.akonadicore: PLUGIN : identifier "text/vcard@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.contactgroup@default"
org.kde.pim.akonadicore: PLUGIN : identifier "message/rfc822@default"
org.kde.pim.akonadicore: PLUGIN : identifier "message/rfc822@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "message/news@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm@default"
org.kde.pim.akonadicore: PLUGIN : identifier "text/vcard@KContacts::Addressee"
org.kde.pim.akonadicore: PLUGIN : identifier "text/x-vnd.akonadi.note@default"
org.kde.pim.akonadicore: PLUGIN : identifier "text/x-vnd.akonadi.note@KMime::Message*"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.template@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "text/directory@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.active@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "text/calendar@KCalCore::Incidence*"
org.kde.pim.akonadicore: PLUGIN : identifier "text/x-vnd.akonadi.note@default"
org.kde.pim.akonadicore: PLUGIN : identifier "message/news@KMime::Message*"
org.kde.pim.akonadicore: PLUGIN : identifier "text/x-vnd.akonadi.note@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "message/news@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.contactgroup@default"
org.kde.pim.akonadicore: PLUGIN : identifier "text/calendar@default"
org.kde.pim.akonadicore: PLUGIN : identifier "text/directory@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.active@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.active@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.akonadi.note@KCalCore::Incidence*"
org.kde.pim.akonadicore: PLUGIN : identifier "text/vcard@default"
org.kde.pim.akonadicore: PLUGIN : identifier "text/vcard@KContacts::Addressee"
org.kde.pim.akonadicore: PLUGIN : identifier "text/x-vnd.akonadi.note@KMime::Message*"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.notes@default"
org.kde.pim.akonadicore: PLUGIN : identifier "message/rfc822@default"
org.kde.pim.akonadicore: PLUGIN : identifier "message/rfc822@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.template@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "text/directory@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.archived@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.contactgroup@KContacts::ContactGroup"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "message/rfc822@KMime::Message*"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.akonadi.note@default"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.contactgroup@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.archived@KAlarmCal::KAEvent"
org.kde.pim.akonadicore: PLUGIN : identifier "message/news@legacy"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.alarm.template@default"
org.kde.pim.akonadicore: PLUGIN : identifier "text/directory@KContacts::Addressee"
org.kde.pim.akonadicore: PLUGIN : identifier "application/x-vnd.kde.notes@KCalCore::Incidence*"
org.kde.pim.akonadicore: PLUGIN : identifier "text/vcard@legacy"
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 629201 ""
org.kde.pim.akonadicore: Got a stale notification for an item which was already removed. 629201 ""
false
"Item query returned empty result set"
"Item query returned empty result set"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: Executing search "searchUpdate-1484281650"
org.kde.pim.akonadiplugin_indexer: Got 0 results
org.kde.pim.akonadiserver: searchUpdateResultsAvailable 58 0 results
org.kde.pim.akonadiserver: Got 0 results, out of which 0 are already in the collection
org.kde.pim.akonadiserver: Added 0
org.kde.pim.akonadiserver: Search done "searchUpdate-1484281650" (without remote search)
org.kde.pim.akonadiserver: Search update finished
org.kde.pim.akonadiserver: All results: 0
org.kde.pim.akonadiserver: Removed results: 0
org.kde.pim.akonadiserver: Executing search "searchUpdate-1484281650"
org.kde.pim.akonadiplugin_indexer: Got 0 results
org.kde.pim.akonadiserver: searchUpdateResultsAvailable 57 0 results
org.kde.pim.akonadiserver: Got 0 results, out of which 0 are already in the collection
org.kde.pim.akonadiserver: Added 0
org.kde.pim.akonadiserver: Search done "searchUpdate-1484281650" (without remote search)
org.kde.pim.akonadiserver: Search update finished
org.kde.pim.akonadiserver: All results: 0
org.kde.pim.akonadiserver: Removed results: 0

++++++++++++++++++++++++++++++++++++++++++++++++++++

So then I shutdown kmail, restart akonadictl, restart kmail - and all the email listing in my inbox is completely unreadable - just long grey and white lines going across the inbox email listing.
ianscott
Registered Member
Posts
23
Karma
0
After shutting down kmail, restarting akonadictl, this is what I see in the console:

org.kde.pim.akonadicore: Emitting defaultFoldersChanged.
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.pim.akonadicore: Read defaultResourceId "akonadi_maildir_resource_0" from config.
org.kde.pim.akonadicore: Found resource "akonadi_maildir_resource_0"
org.kde.pim.akonadicore: Fetched 65 collections.
org.kde.pim.akonadiserver: only display
org.kde.pim.akonadicore: localListDone: false deliveryDone: true
org.kde.pim.akonadicore: localListDone: true deliveryDone: true
org.kde.pim.akonadicore: Nothing to do
org.kde.pim.akonadicore: Fetched root collection 3 and 7 local folders (total 65 collections).
org.kde.pim.akonadicore: resourceId "akonadi_maildir_resource_0"
org.kde.pim.akonadicore: All done! Comitting.
org.kde.pim.akonadicore: Emitting changed for "akonadi_maildir_resource_0"
org.kde.pim.akonadicore: Emitting defaultFoldersChanged.
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.pim.akonadicore: Read defaultResourceId "akonadi_maildir_resource_0" from config.
org.kde.pim.akonadicore: Found resource "akonadi_maildir_resource_0"
org.kde.pim.akonadicore: Fetched 65 collections.
org.kde.pim.akonadiserver: only display
org.kde.pim.akonadicore: localListDone: false deliveryDone: true
org.kde.pim.akonadicore: localListDone: true deliveryDone: true
org.kde.pim.akonadicore: Nothing to do
org.kde.pim.akonadicore: Fetched root collection 3 and 7 local folders (total 65 collections).
org.kde.pim.akonadicore: resourceId "akonadi_maildir_resource_0"
org.kde.pim.akonadicore: All done! Comitting.
org.kde.pim.akonadicore: Emitting changed for "akonadi_maildir_resource_0"
org.kde.pim.akonadicore: Emitting defaultFoldersChanged.
Pass a valid window to KWallet::Wallet::openWallet().
org.kde.pim.akonadicore: localListDone: false deliveryDone: true
org.kde.pim.akonadicore: localListDone: true deliveryDone: true
org.kde.pim.akonadicore: Nothing to do
org.kde.pim.akonadicore: localListDone: false deliveryDone: true
org.kde.pim.akonadicore: localListDone: true deliveryDone: true
org.kde.pim.akonadicore: Nothing to do
org.kde.pim.akonadicore: localListDone: false deliveryDone: true
org.kde.pim.akonadicore: localListDone: true deliveryDone: true
org.kde.pim.akonadicore: Nothing to do
org.kde.pim.akonadiserver: only display
org.kde.pim.akonadicore: localListDone: false deliveryDone: true
org.kde.pim.akonadicore: localListDone: true deliveryDone: true
org.kde.pim.akonadicore: Nothing to do
org.kde.pim.akonadicore: localListDone: false deliveryDone: true
org.kde.pim.akonadicore: localListDone: true deliveryDone: true
org.kde.pim.akonadicore: Nothing to do
org.kde.pim.akonadiserver: New notification connection (registered as Akonadi::Server::NotificationSubscriber(0x7fb52835a9b0) )
org.kde.pim.akonadiserver: Subscriber Akonadi::Server::NotificationSubscriber(0x7fb52835a9b0) identified as "kmail2-1186278907 - 62983472"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: SEARCH:
org.kde.pim.akonadiserver: Query: "{\n \"limit\": -1,\n \"negated\": false,\n \"rel\": 1,\n \"subTerms\": [\n {\n \"cond\": 0,\n \"key\": \"email\",\n \"negated\": false,\n \"value\": \"info@eflowers.gr\"\n }\n ]\n}\n"
org.kde.pim.akonadiserver: MimeTypes: ("text/directory")
org.kde.pim.akonadiserver: Collections: QVector(0, 2)
org.kde.pim.akonadiserver: Remote: false
org.kde.pim.akonadiserver: Recursive true
org.kde.pim.akonadiserver: Executing search "kmail2-1186278907-SearchSession"
org.kde.pim.akonadiplugin_indexer: Got 0 results
org.kde.pim.akonadiserver: Search done "kmail2-1186278907-SearchSession" (without remote search)
org.kde.pim.akonadiserver: Result: 0 matches

++++++++++++++++++++++++++++++

But Kmail is basically useless - I cannot read or see the inbox email listing, except for four emails from eflowers.gr. The rest of the email listing is just grey and white lines and what appears to be text garbled and "squished" together.
ianscott
Registered Member
Posts
23
Karma
0
Here is what I think is going on, but I cannot see any useful information in the console after restarting akonadictl:

There are duplicate emails in my inbox that have been previously deleted, but for whatever reason, are still in the inbox.

When I try to delete them - that is when kmail seems to just freeze.

Running akonaditctl fsck and vacuum does not correct the problem.

Each time I run akonadictl fsck - it seems to "see" the same deleted messages but doesn't actually do anything with them apparently. Every run of akonadictl fsck finds the same duplicates and items that "has RID and is dirty" and ends with

org.kde.pim.akonadiserver: "Migrating parts to new cache hierarchy..."
Migrating parts to new cache hierarchy...
org.kde.pim.akonadiserver: "Consistency check done."
Consistency check done.


I am not sure what the expected behaviour of akonadictl fsck is - but in previous versions of kmail, when I ran this it seemed to clear up the problems for a time.

But I'm wondering if akonadictl fsck is just not doing it's job with this version or OpenSuse Tumbleweed packages.

After awhile - 15 minutes perhaps (after trying to delete messages that I believe are duplicates of emails already previously deleted), and after running akonadictl fsck, I see this:

org.kde.pim.akonadiserver: ItemRetrievalJob finished for request 0x7f14e001ec70 , error: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
org.kde.pim.akonadiserver: posting retrieval request for items (611228) there are 1 queues and 0 items in mine
org.kde.pim.akonadiserver: ItemRetrievalJob Akonadi::Server::ItemRetrievalJob(0x7f15180716f0) started for request 0x7f14e000d9a0
org.kde.pim.akonadiserver: processing retrieval request for item (611228) parts: ("RFC822") of resource: "akonadi_maildir_resource_0"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
org.kde.pim.akonadiserver: ItemRetrievalJob finished for request 0x7f14e000d9a0 , error: "Unable to retrieve item from resource: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."
org.kde.pim.akonadiserver: posting retrieval request for items (611228) there are 1 queues and 0 items in mine
org.kde.pim.akonadiserver: ItemRetrievalJob Akonadi::Server::ItemRetrievalJob(0x7f151802cc80) started for request 0x7f14e002da80
org.kde.pim.akonadiserver: processing retrieval request for item (611228) parts: ("HEAD", "RFC822") of resource: "akonadi_maildir_resource_0"
org.kde.pim.akonadiserver: Database "akonadi" opened using driver "QMYSQL"
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
The duplicate emails are in an IMAP inbox, or a local folder? I see a few issues there and I want to make sure.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
ianscott
Registered Member
Posts
23
Karma
0
Local Folders - Inbox and other folders.

I don't believe I have any email accounts using Imap.
User avatar
reb68
Registered Member
Posts
24
Karma
0
OS
I cannot use Kmail , Address Book, contacts or any of the contact programs, I keep getting the Error, "The Akonadi personal information management service is not operational" Is there a fix or workaround to get the address books to work?


When plunder becomes a way of life for a group of men living together in society, they create for themselves in the course of time a legal system that authorizes it and a moral code that justifies it. Frederic Bastiat
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Please open a separate thread with your issue, including your Kontact / KMail version.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft