El Capitan - Spotlight Indexes On Every Boot

Discussion in 'OS X El Capitan (10.11)' started by jblagden, Mar 13, 2016.

  1. jblagden macrumors 65816


    Aug 16, 2013
    I have a late 2011 13” MacBook Pro with a 480 gigabyte Solid State Drive 8 gigabytes of RAM and a GT 740 eGPU.

    Every time my Mac boots, spotlight indexes my Solid State Drive. The indexing process runs for a 10-20 or so and affects the launch time of Mail and Messages, which are the first apps I launch every day.

    How do I fix this?
  2. beebarb macrumors 6502


    Sep 10, 2015
    I've seen people suggest manually running the maintenance scripts can help.
    If I recall correctly, you enter
    sudo periodic daily weekly monthly
    in Terminal.

    Though to me it seems like the index could be corrupted.
    Maybe adding the affected drive to the privacy tab in spotlight preferences to purge the current index, then removing it a moment later to rebuild the index will help.
  3. Fishrrman macrumors P6


    Feb 20, 2009
    Do what I did:
    Kill Spotlight by turning it off and deleting the indexes.

    I use EasyFind and/or Find Any File (along with DevonThink) for when I need to find stuff. They work great.

    Good riddance!
  4. jblagden thread starter macrumors 65816


    Aug 16, 2013
    How did you turn Spotlight off?
  5. Alrescha macrumors 68020

    Jan 1, 2008
    You can turn Spotlight off by either: opening Spotlight/Privacy in System Preferences and adding your drive to the exclusion list, or you can start up Terminal and type in:

    sudo mdutil -a -i off

    On the other hand, if you like being able to use Spotlight, you might try some things before you give up. I had some annoying problems with Spotlight with my initial install of El Capitan, and I solved them by simply doing a re-install over my existing system. It took a while, but it worked.

  6. KALLT macrumors 601

    Sep 23, 2008
    I am curious, mdutil also has the option -d which “disables searching”. Applying it will also disable the indexing. Do you know what happens when you just turn off the indexing, but leave the searching enabled?
  7. Alrescha macrumors 68020

    Jan 1, 2008
    I do not know what the intended behavior is, but in my experience Spotlight gets pretty useless if you turn off indexing. It was worth a re-install of OS X to get everything working - pretty much every one of my tasks begins with Command-space.


Share This Page