Summary: | Akonadi resources churn CPU and consume memory until OOM killed | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Joseph Tate <jtate+kde> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | alexandre.bonneau, berend.de.schouwer, ccurtis0+kdebts, cfigura77, cmertes, cruzki123, enachebogdan, ferdinand, meyerm, rutgerhendriks, sergiu, smartins, subscryer, thomas.richard |
Priority: | NOR | ||
Version: | 1.4.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Broken/corrupted config |
Description
Joseph Tate
2011-02-09 17:39:34 UTC
I can confirm this bug on Kubuntu 10.10 with updated KDE 4.6.0 packages, removing ~/.config/akonadi seems to have fixed it. I can confirm the same identical bug on Mint 10 KDE, so it's not Kubuntu specific. Deleting ~/.config/akonadi/ fixed it. I suffer from the same bug but only with akonadi nepomuk mail feeder, the other processes behave. I'd rather avoid deleting akonadi data and spend another day or two synchronizing my imap folders... :( So I'm waiting for a proper solution to the bug. KDE 4.7 on gentoo here. I think I first configured akonadi in 4.4. there are several reports here that shouldn't be mixed.
in the initial report,
> type=1503 audit(1297265279.564:33): operation="file_perm" pid=5830 parent=5801
profile="/usr/sbin/mysqld-akonadi" requested_mask="w::" denied_mask="w::"
likely means apparmor went crazy.
The cause of the issue seen on gentoo or mint is probably different
Same problem here with kubuntu 11.04, using kde 4.6.2. The akonadi_maildis process eats all ram and swaps before being OOM-killed. There is two workaround : - killing the akonadi_maildis 3 times in a row stops akonadi to restart it, or - as the others said, delete the ~/.config/akonadi folder. I'm using linux 64 bits, and experiencied some crashes before too. Same problem here, but using Kubuntu 11.10, just started yesterday. Akonadi is taking al lot of CPU and all my memory ... till the kernel starts to kill processes. That hapens within 10 minutes after login. Akonadi is not responding to akonadictl stop, you have to kill it. (Or restart) I can confirm the bug. If you want a tarball of the offending .config/akonadi please email me as I don't know what data exactly is in the database. I'm running Kubuntu 11.10 and my X freezes completely. I had to switch to the console in time to see what's happening. I replaced KDEPIM with Claws Mail and other packages, will no longer be able to help debugging this issue. I can confirm this issue as well on Kubuntu 11.10 with KDE 4.7.3 It's damn annoying and renders the desktop unusable *** This bug has been confirmed by popular vote. *** After hitting this problem I updated my KDE 4.7 from opensuse 12.1 to KDE 4.8.1 with akonadi 1.7.1 from the KDE4.8 repository. Problem still persisted. Solution for now was deleting the imap resource taking all the memory and readding it in KMail :-( See also #278487, #294447, #296706 and perhaps #260647, #290355. As a side-note, I figured my RAM was badly damaged, which explained many bugs and corrupted files I observed for a few months. Since I changed it and removed the ~/.config/akonadi folder, I haven't seen anymore 100% CPU problem with akonadi. I suspect akonadi has some difficulty to manage corrupted database. That what should be fixed, just in case. Even if you delete the Akonadi configuration under ~/.config/akonadi, this bug will bite you the next time you try to create a new maildir account in Kmail. To fix this, run the following command: mysqlcheck -u root -p --auto-repair --optimize --all-databases Enter the password for your MySQL root user, NOT the system root user. This bug has to do with MySQL database corruption. It happens after a system crash. I did an Alt+SysRq+RSEIUB to reset my machine (unrelated to Akonadi), and the next login greeted me with Akonadi eating my RAM, my CPU, my cat and part of my keyboard. Can anyone still reproduce this ? What are the exact processes that are eating ram? and how much This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months. Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input. |