Bug 471864 - akonadi_indexing_agent consuming all available memory until OOM
Summary: akonadi_indexing_agent consuming all available memory until OOM
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Indexer (show other bugs)
Version: 5.23.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-02 10:07 UTC by kramski
Modified: 2023-08-05 18:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kramski 2023-07-02 10:07:06 UTC
SUMMARY
akonadi_indexing_agent is consuming all available memory in only a few minutes until system gets Out-Of-Memory.

STEPS TO REPRODUCE
"akonadictl start" (if not already running)

OBSERVED RESULT
Watch akonadi_indexing_agent consume more and more gigabytes of memory in only a few minutes (I have 16 GB installed) until your desktop comes to a crawl.
Wait for the Linux OOM manager to kick in or "killall akonadi_indexing_agent" if you are still able to enter commands.

EXPECTED RESULT
On a similar system akonadi_indexing_agent statically consumes about 650 MB RAM.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Also seen on a similar system (Laptop) with a different user account.

Current workaround is "killall akonadi_indexing_agent" multiple times until the agent gives up to restart.
Comment 1 kramski 2023-07-02 10:10:36 UTC
Already tried "aconadictl fsck" and  "aconadictl vacuum" to no avail.
Comment 2 kramski 2023-08-05 18:58:44 UTC
I "solved" this by renaming ~/.local/share/akonadi/search_db to ~/.local/share/akonadi/search_db.bad as suggested in https://linux.debian.user.german.narkive.com/BXFXGrPF/kmail-zeigt-keine-mails-mehr-an#post11.