[Bug 278487] New: akonadi eats my memory ;)

Christoph Cullmann cullmann at kde.org
Mon Jul 25 18:13:04 BST 2011


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

           Summary: akonadi eats my memory ;)
           Product: Akonadi
           Version: unspecified
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: cullmann at kde.org


Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

I have configured KMail from KDE 4.6.5 to connect to my IMAP account.
The account contains > 400k mails, in short: a lot ;)
Now, even if I don't start KMail after logging in, akonadi starts up and eats
my memory (and sometimes my CPU).

I have 4 GB of memory and no swap, got OOM'd just now without any applications
open beside one chrome + amarok.

once it killed akonadi:
[ 2563.614023] Killed process 1728 (akonadi_nepomuk) total-vm:632676kB,
anon-rss:224724kB, file-rss:4kB

later chrome (which did not take lot RAM)
[ 6020.429589] Killed process 1736 (chromium) total-vm:931484kB,
anon-rss:90960kB, file-rss:7036kB

Even now, after some OOM'd doom, I have running:

cullmann  1052 12.9  2.8 513920 117432 ?       Sl   17:53   9:41 akonadiserver
cullmann  1056  5.7  2.6 477820 108896 ?       Sl   17:53   4:18
/usr/bin/mysqld --defaults-file=/home/cullmann/.local/share/akonadi//mysql.conf
--datadir=                  
cullmann  1108  0.0  3.5 353736 145156 ?       Sl   17:53   0:03
/usr/bin/akonadi_agent_launcher akonadi_akonotes_resource
akonadi_akonotes_resource_0
cullmann  1109  0.0  3.5 353728 145260 ?       Sl   17:53   0:03
/usr/bin/akonadi_agent_launcher akonadi_akonotes_resource
akonadi_akonotes_resource_1
cullmann  1110  0.0  3.5 353740 145136 ?       Sl   17:53   0:03
/usr/bin/akonadi_agent_launcher akonadi_akonotes_resource
akonadi_akonotes_resource_2
cullmann  1111  0.0  3.5 353740 145280 ?       Sl   17:53   0:04
/usr/bin/akonadi_agent_launcher akonadi_akonotes_resource
akonadi_akonotes_resource_3
cullmann  1112  0.0  3.5 349712 145132 ?       Sl   17:53   0:03
/usr/bin/akonadi_agent_launcher akonadi_contacts_resource
akonadi_contacts_resource_0
cullmann  1113  0.0  3.5 349680 145032 ?       Sl   17:53   0:03
/usr/bin/akonadi_agent_launcher akonadi_contacts_resource
akonadi_contacts_resource_1
cullmann  1114  0.0  3.5 352260 145164 ?       Sl   17:53   0:03
/usr/bin/akonadi_agent_launcher akonadi_ical_resource akonadi_ical_resource_0
cullmann  1115  0.0  3.5 352296 145196 ?       Sl   17:53   0:04
/usr/bin/akonadi_agent_launcher akonadi_ical_resource akonadi_ical_resource_1
cullmann  1116  0.1  0.4 482756 19032 ?        Sl   17:53   0:04
/usr/bin/akonadi_imap_resource --identifier akonadi_imap_resource_0
cullmann  1117  0.0  3.5 353732 145148 ?       Sl   17:53   0:03
/usr/bin/akonadi_agent_launcher akonadi_maildir_resource
akonadi_maildir_resource_0
cullmann  1118  0.1  0.1 290916  4392 ?        S    17:53   0:04
/usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
cullmann  1119  0.1  3.5 440956 145300 ?       Sl   17:53   0:05
/usr/bin/akonadi_nepomuk_calendar_feeder --identifier
akonadi_nepomuk_calendar_feeder
cullmann  1124  0.1  3.5 438292 145220 ?       Sl   17:53   0:04
/usr/bin/akonadi_nepomuk_contact_feeder --identifier
akonadi_nepomuk_contact_feeder
cullmann  1141  0.0  3.5 349728 145116 ?       Sl   17:53   0:04
/usr/bin/akonadi_agent_launcher akonadi_vcard_resource akonadi_vcard_resource_0
cullmann  1170  0.0  0.0 136488  1928 ?        S    17:53   0:00
/usr/bin/nepomukserver
cullmann  1730  0.0  7.2 712816 291916 ?       Sl   18:06   0:00
/usr/bin/akonadi_nepomuk_email_feeder --identifier akonadi_nepomuk_email_feeder

File indexing is off (nepomuk itself, too, in system settings, still it is
launched)

I know, I have a LOT of mails, but why does it seems to that the akonadi
storage tries to download it behind my back and index or whatever it?
Have not activated any offline features.

Reproducible: Sometimes

Steps to Reproduce:
Starting up my KDE session after having configured the IMAP account. Without
any configured IMAP account, all is fine (which is no real suprise, as then
nothing is there to leech ;)

Actual Results:  
OOM session or hanging session cause of load.

Expected Results:  
Akonadi should be off without KMail starting (but perhaps that is the panel
clock or such stuff, not that there is an option), but in any case, even if
KMail is started, it should not use that much real memory. With the "old" KMail
from KDE 4.6.4 it was just fine, no real memory usage that bothered me.

This is plain ArchLinux packages, 4.6.5, not testing, no own compiles/changes.
Settings were plain new, installed this machine fresh with this KDE version
(and cleaned .kde and .local stuff)

Major, because that OOM's randomly my other apps. (which doesn't only include
poor old SC2 ;)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list