Jump to content
6 posts in this topic

Recommended Posts

Ok i did a little research MDS is a spotlight process. It's way of indexing files..

I came up with this suggestion

 

From this website(there is more info on the site) http://www.macintouch.com/tiger12.html

May 11, 2005

Spotlight

 

Jeff Hirsch

I can confirm that there are issues with Spotlight hogging the CPU under certain circumstances. In particular, the mds (metadata) process and mdimport process can eat up a huge chunk of available CPU and RAM. Upwards of 80% at times, causing a very noticeable slowdown on even the fastest of machines.

 

A quick search for "mds cpu" in the 10.4 Discussions over at Apple shows that a number of users are dealing with the same issue. Here is what I did to fix the problem and some thoughts on possible causes. First the fix:

 

1) Using the mdutil command-line utility in Terminal, turn off indexing for each of your drives. example:

 

$ sudo mdutil -i off /Volumes/your_hard_drive_name_1

$ sudo mdutil -i off /Volumes/your_hard_drive_name_2

 

2) Then use mdutil to remove the indexes from each drive

 

$ sudo mdutil -E /Volumes/your_hard_drive_name_1

$ sudo mdutil -E /Volumes/your_hard_drive_name_2

 

3) Physically remove the .Spotlight directories from the root of each drive.

 

$ cd /

$ sudo rm -fr .Spotlight-V100

 

(do the same for your second or third drive) BE CAREFUL WITH THAT RM COMMAND! One typo could ruin your day.

 

4) Use mdutil again to turn indexing back on for each drive

 

$ sudo mdutil -i on /Volumes/your_hard_drive_name_1

$ sudo mdutil -i on /Volumes/your_hard_drive_name_2

 

5) Spotlight will now re-index all drives and should behave in a normal fashion. (No longer uses 60%-80% of your CPU)

 

The question is should i also do it?

  • 7 months later...
  • 1 month later...
×
×
  • Create New...