| Summary: | baloo_file_extractor fills swap space even though there's plenty of RAM available | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Branimir Amidzic <mail> |
| Component: | Baloo File Daemon | Assignee: | baloo-bugs-null |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | tagwerk19 |
| Priority: | NOR | ||
| Version First Reported In: | 5.109.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Branimir Amidzic
2023-09-09 19:51:47 UTC
Two things to check...
Is baloo running with the systemd memory limits? There's been a recent change to limit baloo to using 512 MB. You can check with:
$ systemctl status --user kde-baloo
and look at "high" value in the "Memory:" line.
This can tip baloo_file and baloo_file_extractor over to using swap. Have a look at:
https://bugs.kde.org/show_bug.cgi?id=470382#c1
It's also possible you are hitting a file that does not want to be indexed. Baloo_file_extractor tries to get readable text out of a file and some times this just does not work in the time and space available (examples being a multi-gigabyte .mbox file or large scientific graphs in a PDF). You would need to watch, with "balooctl monitor" what was being indexed.
(In reply to tagwerk19 from comment #1) > Two things to check... > > Is baloo running with the systemd memory limits? There's been a recent > change to limit baloo to using 512 MB. You can check with: > $ systemctl status --user kde-baloo > and look at "high" value in the "Memory:" line. > > This can tip baloo_file and baloo_file_extractor over to using swap. Have a > look at: > https://bugs.kde.org/show_bug.cgi?id=470382#c1 > > It's also possible you are hitting a file that does not want to be indexed. > Baloo_file_extractor tries to get readable text out of a file and some times > this just does not work in the time and space available (examples being a > multi-gigabyte .mbox file or large scientific graphs in a PDF). You would > need to watch, with "balooctl monitor" what was being indexed. Thanks! It seems this was false alarm. I guess that baloo_file_extractor behaves this way only when indexing files. Now, after it has finished indexing, the swap usage is back to 0%. Sorry for raising flags... |