Bug 359208 - continious disk activity from baloo_file_indexer
Summary: continious disk activity from baloo_file_indexer
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-10 04:38 UTC by Leon
Modified: 2018-11-26 20:28 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leon 2016-02-10 04:38:57 UTC
The disk of the machine remains active continuously after start or hibernation. Ending the baloo_file_extractor process rectifies the condition

Reproducible: Always

Steps to Reproduce:
1. Start machine
2. observe disk activity

Actual Results:  
The disk is continuously running

Expected Results:  
Disk activity should not continue without end.
Comment 1 Rex Dieter 2016-02-11 17:35:32 UTC
indexing the files under your $HOME will take at least some time initially to complete, that is expected (depends on how many files  you have).

Instead of killing  baloo_file_extractor , you can just disable file indexing, if you don't want that behavior,
systemsettings5 -> search -> file search -> (UNCHECK) enable file search
Comment 2 Leon 2016-02-22 06:16:25 UTC
But disabling search does not solve the problem. It takes away the search function which I need.

I ran the find utility from root and outputted the listing to a text file. It took 7 minutes. Therefor I propose the indexer utility cannot or should not index files longer than 10 minutes.
Comment 3 Lukas Ba. 2017-01-03 18:53:03 UTC
(In reply to Leon from comment #2)
> But disabling search does not solve the problem. It takes away the search
> function which I need.
> 
> I ran the find utility from root and outputted the listing to a text file.
> It took 7 minutes. Therefor I propose the indexer utility cannot or should
> not index files longer than 10 minutes.

Baloo also indexes file contents, find does not read file contents.

If you don't want baloo to index contents, add 
only basic indexing=true
into [General] section of Your ~/.config/baloofilerc

Off topic: If you already know how to use find, check out mlocate and see how long it takes to build an index. Maybe it's faster.
Comment 4 Nate Graham 2018-11-26 20:28:08 UTC
As mentioned, disk activity is expected until indexing is complete. If it's slowing down your system, that's tracked with Bug 400704.