Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

Spotlight Out of Control in Mac OS X Mavericks 10.9

December 31, 2013 9 Comments

Don’t know why but sometimes upgrading between various OSX versions say from OS X10.7 to OSX 10.8 Mountain Lion or from X10.8 to OSX 10.9 Mavericks, the searching and indexing application Spotlight seems to be on steriods, constantly having that little magnifying glass glowing at me, taunting me, teasing me. Fans getting louder and louder on my Mac Pro 747 ready for take off. This also will affect how the Mac Mail App does for showing search results.

spotlight-keeps-indexing

Indexing and indexing and indexing, WTF, is it doing it for fun!
Surely it doesn’t take that long to index a drive and keep it updated. Some of the processes that Spotlight uses to work mds and mdsworker processes are going balistic churning up CPU and putting the drive in such a loud spin that I think it’s gonna blow.

spotlight-lion-out-of-control-osx

You can check these by running Top in the Terminal

Doing my head in so I put a ‘sledgehammer’ fix to stop it …

sudo mdutil -a -i off

Which basically disables Spotlight.

After a while I realised that I couldn’t search Mail or the Finder for that matter which eventually turns out to be a problem worse than the initial one, so back on Spotlight goes.

sudo mdutil -a -i on

But alas the initial problem comes back, so a different heavy handed approach is required.

Spotlight keeps its index files and database in the root of each drive in an invisible directory named:

/.Spotlight-V100

If you delete the contents of the directory and reboot, Spotlight re-indexes after the restart but now seems to be a bit more processor efficient, after a heavy initial index – just leave it for a few hours, the linked processes (mds) calm down and it starts to works normally.

Some type of random event must occur in the upgrade process to trigger this behaviour.

So if it’s driving you insane use the comand below for the main start up hard drive, it basically deletes the index database. You can’t see the directory in the finder as it starts with a leading ‘.’ which are invisible to view, so you need to do this in the Terminal, copy and paste the command.

The Terminal is found in Applications/Utilities paste in the command at the prompt.

 sudo rm -rf /.Spotlight-V100/*

Restart and let the initial indexing take place then things will be OK.

Outside of that if you want to disable Spotlight on a non-boot start up drive, launch the Spotlight preference via System Preferences, click on the Privacy Tab, click the ‘+’ sign and add in any drives that you don’t want indexed.

remove-drives-spotlight

Couple of good drives to add in here would be Bootcamp and DropBox drives if you have them!

Cats: macOS

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Matter update may finally take the tedium out of setting up your smart home
  • Cue: Apple will add AI search in mobile Safari, challenging Google
  • Apps like Kindle are already taking advantage of court-mandated iOS App Store changes
  • Spotify seizes the day after Apple is forced to allow external payments
  • Apple and Meta furious at EU over fines totaling €700 million

RSS mac surfer

  • Tot is new text editor for Mac, iPhone, and iPad focused on constraints and ease of use
  • TiPbITS: Google Drive Sorting Can Hide New Documents
  • How to take a screenshot on a MacBook Pro
  • How To Create Simple Animation With Mac Keynote
  • Last Week on My Mac: Virus pandemics

Donate

Copyright © 2025· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2025 · gee on Genesis Framework · WordPress · Log in