Skip to content

Instantly share code, notes, and snippets.

@danielturus
Last active August 14, 2021 13:27
Show Gist options
  • Save danielturus/3b245216a5e1d2d69d61d9783d42ed9c to your computer and use it in GitHub Desktop.
Save danielturus/3b245216a5e1d2d69d61d9783d42ed9c to your computer and use it in GitHub Desktop.
Mac related settings

Disable Spotlight

https://apple.stackexchange.com/questions/144474/mds-and-mds-stores-constantly-consuming-cpu

As you know, the mds and mds_stores are Spotlight activities.

The reason why your Spotlight is so active could be a number of things; it could be you have an app or multiple apps constantly changing some folder contents.

First let's check whether Spotlight is the cause of the fans running so much. To test this, run the following in your terminal:

sudo mdutil -a -i off

this turns off indexing of files, and should result in a clear slow down of the fans if mds and/or mds_stores are to blame.

To turn indexing back on, run

sudo mdutil -a -i on

After this you could run the complete re-indexing of your hard drive (be aware this could be an over night job), it will delete your Spotlight data base forcing it to start over.

sudo rm -rf /.Spotlight-V100/*

The next and final step would be to add others to your (do not scan), privacy settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment