akonadi_nepomuk_feeder and akonadi_mailfilter_agent memory have a serious memory leak

Bug #975266 reported by Jessie Morris
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
akonadi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

At startup, akonadi_nepomuk_feeder and akonadi_mailfilter_agent's memory usage goes through the roof.

Within 5 minutes of startup, they have used all of my memory (somewhere around 8 gigs).

This can't be right.

There was a bug reported to the KDE team (https://bugs.kde.org/show_bug.cgi?id=294447), but it appears that all of the reporters are on Kubuntu 12.04. Because of this, I am thinking it may be a packaging issue.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: akonadi-server 1.7.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
Date: Fri Apr 6 09:28:22 2012
EcryptfsInUse: Yes
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120228.1)
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: akonadi
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jessie Morris (jessieamorris) wrote :
Revision history for this message
Jessie Morris (jessieamorris) wrote :

And yes, I am up to date on packages.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in akonadi (Ubuntu):
status: New → Confirmed
Revision history for this message
Mikael Bergqvist (mikaelb) wrote :

The memory consumption reaches about 7G for me, at 100% CPU

Revision history for this message
Chuck (chuck42) wrote :

Have found similar bugs https://bugs.launchpad.net/akonadi/+bug/820188 and https://bugs.launchpad.net/akonadi/+bug/909022 (other Kubuntu versions).

To kill the memory leaking process I have found two ways (For me just `akonadi_mailfilter_agent` seems to have a memory leak):

(1) Stop Akonadi over the Akonadi tray icon (Akonadi related programs will not work)
(2) Kill the affected process three times (command `ps -A | grep akonadi` to get the process id and `sudo kill <pid>`). Had to kill the process three times, because after the first two times the program restarts. After killing `akonadi_mailfilter_agent` I can access my mails, but cannot send new ones.

After renaming ~/config/akonadi everything works fine after a restart of Akonadi. I could not find any memory leaking process. Unfortunately then all configurations are gone...

Revision history for this message
Chuck (chuck42) wrote :

I renamed the file `~/config/akonadi/agent_config_akonadi_mailfilter_agent_changes.dat` and the bug was gone. I also have my old configured accounts, but I had to refresh the local mail directory and got often error messages like:

"The custom sent-mail folder for identity "..." does not exist (anymore); therefore, the default sent-mail folder will be used."

I read, that akonadi stores his information inside a mysql database. I guess, that renaming `~/config/akonadi/agent_config_akonadi_mailfilter_agent_changes.dat` forces akonadi to create a new database (maybe the old one was corrupted?!). This also explains error messages like the above one, because old entries in other databases will not work anymore. So I also had to reset the destination folders of my accounts and of my filters.

Maybe an export of the filters before the above workaround and an import afterwards will help you, if you do not want to reset all mail filters. I do not know, because I have not tried it.

Hope, this workaround will help.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.