Bug 401279 - baloo_file_extractor eats the whole RAM
Summary: baloo_file_extractor eats the whole RAM
Status: RESOLVED DUPLICATE of bug 400704
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.52.0
Platform: Manjaro Linux
: NOR grave
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-21 15:18 UTC by eduardo
Modified: 2018-11-26 17:19 UTC (History)
2 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 eduardo 2018-11-21 15:18:21 UTC
SUMMARY
Im on latest version of linux kernel, OS packages (including kde related)

Since some time ago, baloo_file_extractor once the pc is started, start eating all the RAM until the pc locks (because no available RAM) and I have to force a restart.

The only way to stop it is to remember that each time I start the pc, I have to kill all the baloo related processes.



STEPS TO REPRODUCE
1. Start the PC
2. Wait some few minutes until baloo_file_extractor gets all the RAM and the PC gets locked and freeze.


OBSERVED RESULT

PC gets locked after a while


EXPECTED RESULT

baloo should do its job without jeopardize the pc integrity


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kernel 4.19.2
(available in About System)
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Comment 1 eduardo 2018-11-21 15:19:26 UTC
I have 16 GB of RAM, baloo eats it all.
Comment 2 Bruno Filipe 2018-11-22 04:41:00 UTC
I've got the same poblem, also on Manjaro.
After last updates it started eating a lot of ram and cpu usage. I used the baloo monitoring GUI and noticed it was stuck on a big folder, and also generating errors for every file.

Solution was stop baloo, delete index, blacklist that big folder I have (with lots of git repos), and then start baloo again.
Only blacklisting the huge folder and/or restarting didn't do it, I think the index got corrupted somehow.
Comment 3 eduardo 2018-11-23 15:42:46 UTC
Its not happening anymore, but probably not because the bug was somehow fixed, maybe it finished the cache process on whatever the folder that was causing trouble.
I also have git folders on my documents.

Anyway, why is the baloo file allowed to take more than 25% of the available ram? that has to be limited somehow. To take all the ram is unnaceptable in any circunstance.
Comment 4 Bruno Filipe 2018-11-23 17:49:49 UTC
(In reply to eduardo from comment #3)
> Anyway, why is the baloo file allowed to take more than 25% of the available
> ram? that has to be limited somehow. To take all the ram is unnaceptable in
> any circunstance.

Agree, same for CPU. It should only use that much CPU if pc is idle.
Comment 5 Nate Graham 2018-11-26 17:19:30 UTC

*** This bug has been marked as a duplicate of bug 400704 ***