Is mds thrashing your OS X?

I use iStatsMenu to keep an eye on my RAM and CPU usage on my Mac Book Pro (which is no slouch with a 2.5 GHz Core 2 Duo Processor and 4 GB of RAM). There are three processes always seem to peg my machine:

  • Firefox
  • TextMate
  • and something called mds

Saving my work and restarting Firefox and Textmate is a no brainer, but I didn’t know what or how to address the problem with mds. Come to find out, mds is responsible for indexing in Spotlight. If its thrashing your CPU and hogging up your RAM, you may need to verify your dives with Disk Utility.app, but for a quick fix run this in Terminal:

sudo mdutil -a -v -i off

This will turn off indexing and you should see an immediate drop in usage and let you get back to work.

5 Responses to “Is mds thrashing your OS X?”


Leave a Reply