Considering to switch away from KDEPIM/Akonadi

con.hennessy at con.hennessy at
Thu Apr 4 23:43:02 BST 2019

Hi Martin,

I'm also a longtime (and content) user of kmail.

I've occasionally experienced what you describe (or something very similar) and what I've 
ended up doing is to effectively reinitialise akonadi. This is relatively easy to do by 
stopping akonadi, moving ~/local/share/akonai, and restarting akonadi. 

It may take some time to re-download various emails by akonadi but it has proven 
successful. I've only had to do this twice in the last 12 months.

I hope this might help you and others. 


On Thursday 4 April 2019 and Martin Steigerwald wrote:
> Hi.
> I did not write in a long time about own issues with KDEPIM/Akonadi and
> instead tried to help others along here and there, but now I feel quite
> frustrated…
> also due to own resistance to actually report a bug, I deal with a
> regular crash of KMail¹ – regular as in several times a day.
> However, that is not the main issue.
> The main issue are two performance related issues (despite MariaDB
> tuning and all that):
> 1) During mail retrieval KMail sometimes just stops displaying new mails
> coming in. It GUI is responsive, but when I click on another folder or
> so… I just get the waiting message. These stalls, that do not happen all
> of the time, take up to a minute or even longer.
> 2) Filtering of new mail into folders takes very long. Very long means
> up to 5 minutes or move of sustained activity of both Akonadi and
> MariaDB for filtering 1000-2000 new mails. That is with me even making
> sure to remove old mails from Akonadi's maildir entirely. Most folders
> do not have more than 30000-40000 mails, some considerable less. A few
> have 80000-100000 mails and I have the idea to remove mails out of them
> as well.
> 3) Then I had one of the LRCONFLICTs displayed in KMail's status line
> without even able to expand it to see what is is about. I solved it by
> clearing Akonadi cache of incoming folder.
> At the same time due to introduction of Office 365 at work² I partly use
> Evolution with EWS and I found the following:
> 1) Evolution did not crash *once* so far.
> 2) Evolution just works. For me so far, that is.
> 3) Evolution does not get stuck.
> 3) So far I do not see much of a performance issue. There are some short
> stalls at time, but nothing even almost as unbearable as with KMail and
> Akonadi.
> Granted the amount of mails in my work-around is considerably lower. And
> while KMail does not crash several times a day with my work setup, it
> still crashed once in a while. Also Akonadi gets stuck with IMAP or EWS
> connection or whatever else.
> Now, I know how much I defended KDEPIM / Akonadi, but… I also see the
> amount of effort you, Daniel, and others put into fixing things up and
> even changing Akonadi in some fundamental ways in order to make it work…
> I truly appreciate that work…
> but I am also tired.
> Simply put: I am fed up with it.
> Yes, I see the recent improvements in Akonadiconsole to help others
> report meaningful bugs and all that…
> but I do not like to be a database admin or a server administrator just
> to read my mail and respond to them or write a bug report.
> KMail is still *just* a mail program.
> Akonadi does not have issues since yesterday. I'd say it had issues till
> the beginning. I might have been lucky at times where it mostly worked
> for me, but also I moved through a ton of issues and pain with KDEPIM
> and Akonadi.
> I am sorry to write but I have found myself seriously considering to
> switch away from KDEPIM, as much as I like KMail.
> The only other idea I had is to just switch from MariaDB to PostgreSQL.
> It would mean a PostgreSQL upgrade once in a while, but it if works
> better, I'd probably do that. Especially after I somewhere skimmed that
> you, Daniel, wrote about a kind of locking issue with MariaDB/MySQL. And
> also since you, Daniel, as the only one I am currently aware of tackling
> deep into Akonadi, AFAIK use PostgreSQL as well.
> I am reluctant as akonadictl fsck reported a lot of issues the last time
> I used it, including about items without RID. I may like to export those
> into files before attempting a switch as Akonadi still cannot reply
> those. And still I also do not get how a maildir resource could ever
> fail to write out the mail into the maildir as long as the filesystem is
> healthy.  I am also reluctant due to having to reconfigure about 100 or
> more filter rules.
> Or I might give it another change till the rewrite of the search
> infrastructure as one of the last steps to improve Akonadi's
> architecture.
> Or at least wait till 18.12 or 19.04 packages are available and test
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kdepim-users mailing list