I think Spotlight is slowing down my computer. What can I do?

Hi all,

I have a 2012 MacbookPro with Mointain Lion OS.

I find my computer very often to be very very slow, sometimes unresponsive to any command.

This happens more often when Spotlight is in the indexing process (which by the way always fails to give me an estimate of the time required to finish it), so that sometimes I just can't use the computer for up to an hour.


Spotlight is a very useful tool, but it's unacceptable to have it at these conditions.


Anything (simple) I can do to be able to use my computer when I need it?


(( Also, any M.Lion OS update coming to fix the slowing issues? I feel like this is becoming more of a problem for a lot of people, related or unrelated to Spotlight. I feel like I'm back 10 years ago using a problematic windows computer. I don't want that. ))

MacBook Pro (13-inch, Mid 2012), OS X Mountain Lion (10.8.3)

Posted on May 20, 2013 8:38 AM

Reply
Question marked as Top-ranking reply

Posted on May 20, 2013 10:24 AM

Two ways of doing this:

1. Go to System Preferences > Spotlight > Privacy > + and select the entire disk. This will disable the indexing process for your local disk. You can also do this to any connected external or remote disks.

2. To completely disable Spotlight, go to Applications > Utilities > Terminal and paste the following command:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

and press return. You will be prompted for your administrator password (but will not see any characters as you type it in). If you don't have a password set, just press return again. It's then a good idea to restart your Mac.

8 replies
Question marked as Top-ranking reply

May 20, 2013 10:24 AM in response to VerdeRana

Two ways of doing this:

1. Go to System Preferences > Spotlight > Privacy > + and select the entire disk. This will disable the indexing process for your local disk. You can also do this to any connected external or remote disks.

2. To completely disable Spotlight, go to Applications > Utilities > Terminal and paste the following command:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

and press return. You will be prompted for your administrator password (but will not see any characters as you type it in). If you don't have a password set, just press return again. It's then a good idea to restart your Mac.

May 20, 2013 10:46 AM in response to VerdeRana

Something else to try would be...

1.) limiting where Spotlight indexes (but not the entire disk), as this will limit the amount of work that Spotlight has to do.


2.) Clear the Spotlight index. Sometimes the index gets corrupted or bloated, and this can decrease Spotlight's performance and cause it to re-index the entire drive more often than necessary. Again in Terminal, enter sudo mdutil -E /

If you disabled Spotlight through the Terminal command I posted earlier, also enter

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

and then restart your Mac


Note that this will cause Spotlight to reindex the entire drive, so you will get the sluggishness you are trying to avoid, but it should mitigate it in the future.

May 20, 2013 10:44 AM in response to VerdeRana

If you have more than one user account, these instructions must be carried out as an administrator.


Triple-click anywhere in the line below to select it:

syslog -k Sender mdworker -k Message Sne boxd -o -k Sender mds | tail | open -f -a TextEdit

Copy the selected text to the Clipboard (command-C).


Launch the Terminal application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.


Paste into the Terminal window (command-V).


The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.


A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot.

May 20, 2013 10:47 AM in response to VerdeRana

Also the App Store relies on Spotlight for providing info about updated apps, so it's probably not a good idea to disable it on your Macintosh HD. If you have any external drives though, you could add those to Privacy.


However, once Spotlight has fully indexed your drive it shouldn't be slowing things down. How much RAM do you have installed, and do you use any anti-virus software?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I think Spotlight is slowing down my computer. What can I do?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.