Jump to content
Funky frank

Spotlight hate - fixing high resource usage

7 posts in this topic

Recommended Posts

Hi,

 

lately upgraded to 10.12.4 from 10.9. Spotlight is now used in Mail and a lot of applications as a search engine, too. In 10.9.4 I simply disabled spotlight and used Quicksilver, it was a great time.

 

Now it turns out the spotlight still seems to be a resource hog. I already disabled lot of search types and locations in the spotlight settings, rebuilt index etc.

 

1. It uses huge amounts of processes of "mdworker", even if the amount of indexing should be heavily reduced by the settings. Have a look below.

 

2. If it indexes, it always uses huge amounts of cpu.

 

3. It wildly accesses the ssd, so I guess it causes hard drives to failure much more early than usual (had that 3 times using normal hdds, before I started to disable it)

 

4. Even if I disable "com.apple.mdworker.bundles", I can see in the activity monitor that it still uses all those spotlight plugins in /System/Library/Spotlight/...

 

5. Sometimes it causes other processes to go wild. For example opendirectoryd.

 

 

So my question are:

 

- How can I reduce the amount of mdworker

 

- Is it maybe possible, that I can only enable mds, but disable all those extra services, so I get search in the apps and nothing more?

 

- Should I disable some daemons/agents related to it?

 

Thanks for ideas!

 

 

post-39386-0-22760400-1491496955_thumb.png

Share this post


Link to post
Share on other sites
Advertisement

I now moved away lot of spotlight plug-ins from /sys/lib/spotlight, which greatly increased scan time.

 

Though after a full scan those mdworker processes still keep hanging. It seems they will hang at some specific .ds_store files, which always are located in the library dir. So I recursively removed all ds-store from library.... Let's see if that helps....

Share this post


Link to post
Share on other sites

Just a quick side note: Spotlight does need some more resources after the installation for indexing everything. But that should be over after some time (depending on the number of hard drives etc). Did you give Spotlight some time for that before you declared it a resource hog and fiddled with the services?

Share this post


Link to post
Share on other sites

Thanks, yes I did. The processes were hanging at specific .DS_store files, without continuing. Now it seems to work nicely. Also disabled lots of spotlight plugins that I don't need, like archive, Audio, Video, Font, Image, iPhoto, Bookmarks, MIDI

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×