2016-05-08 Killing Spotlight

Sometimes, this laptop goes crazy. The disk starts rotating, the system slows to a crawl, and when the terminal window finally opens and I run top I’ll see dozens of mdworker processes. They indexing the laptop’s disk, or the external disks, and every now and then they are confused and take forever. Is it because of the external disks? Is it because Claudia and I sometimes switch users? Is it because of a bug in the latest release of the operating system? Who knows, who cares.

Claudia doesn’t use Spotlight and I rarely do. So, time to disable it.

With all the external drives you care about mounted, run mdutil -a -i off. The -a flag tells mdutil to apply the command to all the volumes.

Tags:

Comments


Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Please say HELLO.