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

           Summary: Akonadi resources churn CPU and consume memory until
                    OOM killed
           Product: Akonadi
           Version: 1.4.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs@kde.org
        ReportedBy: jtate+...@dragonstrider.com


Created an attachment (id=57028)
 --> (http://bugs.kde.org/attachment.cgi?id=57028)
Broken/corrupted config

Version:           1.4.0 (using KDE 4.5.1) 
OS:                Linux

I'm having kernel trouble that causes my laptop to fail to shutdown completely
occasionally.  After one of these crashes, about a minute after logging into
KDE, the system would become unresponsive.  I was able to open a top window and
capture this:

 3020 jtate 20 0 540m 279m 15m R 32 5.7 0:09.20 akonadi_maildir
 3019 jtate 20 0 553m 283m 16m R 32 5.8 0:09.31 akonadi_ical_re
 3022 jtate 20 0 537m 280m 15m R 32 5.7 0:09.17 akonadi_maildis
 3018 jtate 20 0 544m 275m 16m R 29 5.6 0:08.99 akonadi_birthda
 3024 jtate 20 0 534m 278m 15m R 29 5.7 0:09.07 akonadi_nepomuk
 3027 jtate 20 0 539m 283m 15m R 29 5.8 0:09.29 akonadi_vcard_r

Once while I was in a vconsole, I saw this output several times:

I created a brand new account and akonadi was working with the fresh profile,
so I started removing other things and restarting KDE.

type=1503 audit(1297265279.564:33): operation="file_perm" pid=5830 parent=5801
profile="/usr/sbin/mysqld-akonadi" requested_mask="w::" denied_mask="w::"
fsuid=1000 ouid=1000 name="/.local/share/akonadi/db_data/mysql.err"

But removing the .local/share/akonadi directory didn't fix it.  Neither did
removing the .kde settings folder.

What did fix it was removing my ~/.config/akonadi folder.  With this gone, the
system doesn't hang, and my akonadi resource process show 19-20m RES memory use
each.

I'll attach the backup of my .config/akonadi folder for forensic purposes. 
I've filed this bug in launchpad for Ubuntu, but I don't think it's Ubuntu
specific: https://bugs.launchpad.net/ubuntu/+source/akonadi/+bug/709314


Reproducible: Always

Steps to Reproduce:
Restore the akonadi config directory, restart KDE.

Actual Results:  
akonadi started resources start eating memory until your machine swaps itself
unresponsive.  Finally the OOM killer extends mercy.

Expected Results:  
Not OOMed

X86_64

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to