Bug 359208

Summary: continious disk activity from baloo_file_indexer
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Leon <support>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aspotashev, kdeu, nate, pinak.ahuja, rdieter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.