Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 9, 2013, 02:23 AM   #1
hafr
Banned
 
Join Date: Sep 2011
What's up with Spotlight?

I love Spotlight, I use it every day to find files, folder and start apps. But something that bugs me more and more is how it just goes crazy and indexes several times a day, for an hour or more at a time, causing the computer to pretty much stop.

Opening MS Excel takes a long time as it is, but with Spotlight indexing it can take, and this is no joke, up to ten minutes to open a simple spreadsheet no bigger than 300*50 cells. Opening iPhoto (around 60 GB, 20 000-ish photos and videos) is something I simply don't do anymore without first checking if it's indexing. Time Machine backups during an indexation means both indexation and backup takes absolutely forever - Activity Monitor showing disk activity of less than 1 MB/s combined write/read.

I just can't take it anymore, it's affecting my productivity and stressing me out to the point where I simply use an old Acer Aspire One (1.6 GHz, 1 GB RAM) with Windows 7 installed - because it's just so much faster than my early 2011 13" base version with 8 GB RAM. Even scrolling on a webpage is turned into a character building test of patience. When it's not indexing, it's as blazing fast as it was when I bought it.

I've installed ML fresh several times, I've even switched disks because I've been certain that there must have been something wrong with them, but it takes no more than a handful of days before it's back to the same way. The only way for me to be able to have a fast computer is by adding all drives to the "do not index"-list, but that kills one of my favourite features in OS X.

Can anyone help me? Is it possible to simply block Spotlight from indexing during office hours, or is there an alternative that doesn't piggyback on Spotlight's indexing?
hafr is offline   1 Reply With Quote
Old Apr 9, 2013, 03:08 AM   #2
benwiggy
macrumors 68020
 
Join Date: Jun 2012
Quote:
Originally Posted by hafr View Post
I've installed ML fresh several times,
If one reinstall doesn't fix the problem (and it usually won't), then more won't help.
Spotlight normally works well, but does occasionally go haywire (across several OS versions, even saintly Snow Leopard.)

When you say you've "switched disks", you mean you've completely swapped your drive hardware? That would rule out any hardware faults. However, it might be worthwhile to run Disk Utility from the Recovery Partition and Repair DISK (not permissions) to check for any problems.

Then I would force a re-index and leave it running overnight if needs be.

You could also look at log messages left in Console utility, to see if anything there is useful at identifying the problem.
__________________
2012 MacMini, 2.6GHz i7, 16Gb RAM, Fusion Drive | 2012 MacBook Pro, 16Gb RAM, 480 Gb SSD |
2009 MacBook | 2006 iMac | 2003 G3 iBook | Beige G3 | PowerMac 7600 | Mac IIsi |
benwiggy is offline   0 Reply With Quote
Old Apr 9, 2013, 03:18 AM   #3
justperry
macrumors 603
 
justperry's Avatar
 
Join Date: Aug 2007
Location: 7 Km South of an active upside down (boat) volcano.
Turn off Spotlight and try LaunchBar, this one has already been there before Spotlight even existed and works well.

Last edited by justperry; Apr 9, 2013 at 03:34 AM.
justperry is offline   0 Reply With Quote
Old Apr 9, 2013, 04:59 AM   #4
hafr
Thread Starter
Banned
 
Join Date: Sep 2011
Quote:
Originally Posted by benwiggy View Post
If one reinstall doesn't fix the problem (and it usually won't), then more won't help.
Spotlight normally works well, but does occasionally go haywire (across several OS versions, even saintly Snow Leopard.)

When you say you've "switched disks", you mean you've completely swapped your drive hardware? That would rule out any hardware faults. However, it might be worthwhile to run Disk Utility from the Recovery Partition and Repair DISK (not permissions) to check for any problems.

Then I would force a re-index and leave it running overnight if needs be.

You could also look at log messages left in Console utility, to see if anything there is useful at identifying the problem.
Oh yeah, I forgot to say - the little dot in the magnifying glass isn't there either... I've done the Disk Utility checks and repairs.

But how does Spotlight work? Does it index the whole drive every time (or ever so often) when a file is changed? Because I have a few folders between which I move fairly large files quite often. I'm gonna try putting them in the "do not search" list and see if it works...

----------

Quote:
Originally Posted by justperry View Post
Turn off Spotlight and try LaunchBar, this one has already been there before Spotlight even existed and works well.
Thanks, I tried it but I just can't seem to make it work the way I want...
hafr is offline   0 Reply With Quote
Old Apr 9, 2013, 05:05 AM   #5
justperry
macrumors 603
 
justperry's Avatar
 
Join Date: Aug 2007
Location: 7 Km South of an active upside down (boat) volcano.
Quote:
Originally Posted by hafr View Post
Oh yeah, I forgot to say - the little dot in the magnifying glass isn't there either... I've done the Disk Utility checks and repairs.

But how does Spotlight work? Does it index the whole drive every time (or ever so often) when a file is changed? Because I have a few folders between which I move fairly large files quite often. I'm gonna try putting them in the "do not search" list and see if it works...

----------



Thanks, I tried it but I just can't seem to make it work the way I want...
There are two processes involved, when you have the problem open Activity Monitor and see what the next 2 processes do:

MDS
MDworker
They are the ones responsible for the indexing of the drive.

Strange you could not get LaunchBar to do what you want, I used it a lot before but my spotlight is working correctly so I use that now.
justperry is offline   0 Reply With Quote
Old Apr 10, 2013, 01:44 AM   #6
hafr
Thread Starter
Banned
 
Join Date: Sep 2011
Quote:
Originally Posted by justperry View Post
There are two processes involved, when you have the problem open Activity Monitor and see what the next 2 processes do:

MDS
MDworker
They are the ones responsible for the indexing of the drive.

Strange you could not get LaunchBar to do what you want, I used it a lot before but my spotlight is working correctly so I use that now.
Adding the handful of folders that I mentioned before seem to have done the trick... How odd and annoying that moving a few GB's worth of files a few times a day causes Spotlight to slow the computer down that much.

Maybe it would be possible for me to make LaunchBar to work the way that I required it to, but in that case it takes more than the ten minutes I spent on tweaking it
hafr is offline   0 Reply With Quote
Old Apr 10, 2013, 02:52 AM   #7
benwiggy
macrumors 68020
 
Join Date: Jun 2012
Quote:
Originally Posted by hafr View Post
But how does Spotlight work? Does it index the whole drive every time (or ever so often) when a file is changed? Because I have a few folders between which I move fairly large files quite often. I'm gonna try putting them in the "do not search" list and see if it works..

Adding the handful of folders that I mentioned before seem to have done the trick... How odd and annoying that moving a few GB's worth of files a few times a day causes Spotlight to slow the computer down that much.
Spotlight works much like Time Machine: the whole drive is indexed, and then changes are made as files are added or modified.

If you have 5Gb of files that get changed a lot, and those files comprise indexable data (like text), then Spotlight is going to be working hard.
__________________
2012 MacMini, 2.6GHz i7, 16Gb RAM, Fusion Drive | 2012 MacBook Pro, 16Gb RAM, 480 Gb SSD |
2009 MacBook | 2006 iMac | 2003 G3 iBook | Beige G3 | PowerMac 7600 | Mac IIsi |
benwiggy is offline   0 Reply With Quote
Old Apr 10, 2013, 03:41 AM   #8
hafr
Thread Starter
Banned
 
Join Date: Sep 2011
Quote:
Originally Posted by benwiggy View Post
Spotlight works much like Time Machine: the whole drive is indexed, and then changes are made as files are added or modified.

If you have 5Gb of files that get changed a lot, and those files comprise indexable data (like text), then Spotlight is going to be working hard.
Thanks for the clarification. I wish I knew that like a year ago
hafr is offline   0 Reply With Quote
Old Apr 10, 2013, 03:50 AM   #9
justperry
macrumors 603
 
justperry's Avatar
 
Join Date: Aug 2007
Location: 7 Km South of an active upside down (boat) volcano.
Quote:
Originally Posted by hafr View Post
Thanks for the clarification. I wish I knew that like a year ago
The best way to find out what the troubles are is to open Activity Monitor, if a process eats a lot of CPU time, Google that process.
justperry is offline   0 Reply With Quote
Old Apr 10, 2013, 05:22 AM   #10
hafr
Thread Starter
Banned
 
Join Date: Sep 2011
Quote:
Originally Posted by justperry View Post
The best way to find out what the troubles are is to open Activity Monitor, if a process eats a lot of CPU time, Google that process.
Oh, I've always known Spotlight was the key issue, I just didn't know how to fix it.
hafr is offline   0 Reply With Quote
Old Apr 10, 2013, 05:30 AM   #11
justperry
macrumors 603
 
justperry's Avatar
 
Join Date: Aug 2007
Location: 7 Km South of an active upside down (boat) volcano.
Quote:
Originally Posted by hafr View Post
Oh, I've always known Spotlight was the key issue, I just didn't know how to fix it.
Just ask here,plenty of nice and helpful people.
justperry is offline   0 Reply With Quote
Old Apr 10, 2013, 05:41 AM   #12
hafr
Thread Starter
Banned
 
Join Date: Sep 2011
Quote:
Originally Posted by justperry View Post
Just ask here,plenty of nice and helpful people.
I did, your answer made me think and I found the solution
hafr is offline   0 Reply With Quote
Old Apr 10, 2013, 07:20 AM   #13
satcomer
macrumors 68040
 
satcomer's Avatar
 
Join Date: Feb 2008
Location: Upstate NYS
To re-index Spotlight in OS x you just need to fire up /Applications/Utilities/Terminal app and put in the command
Code:
sudo mdutil -E /
and hit the return button. This will cause Spotlight to reindex your mounted drives. It's best to do this when you ready to sleep, it will take a little while.
__________________
Mac Pro Dual 2.8 Quad(Rev B.), 16 G RAM, OS X 10.9, 23'' LCD
Mac Book Pro Core 2 Duo 2.16Ghz, SuperDrive, 2G RAM, OS X 10.7.5
iPad 3, 32 black
satcomer is offline   0 Reply With Quote
Old May 3, 2013, 07:12 PM   #14
Ghostycat
macrumors newbie
 
Join Date: May 2013
sound muted and spotlight not functioning

Hi all- I don't know much about how my MacBook runs, but noticed this afternoon that the sound icon is gone from the top menu bar and when i hit the volume hotkeys there is a mute icon on (which I did not intentionally turn on, and cannot remove). Also, the spotlight doesn't work at all- for instance, cannot find applications. I read on another thread that I can try adding and removing my hard drive from the spotlight privacy in system preferences and 're-indexing' spotlight. This did not work for me. I also looked for the com.apple.spotlight file in my library folder- and there is not one. I see where it should be, but its not there.

So i guess these are separate issues, but since they happened simultaneously (possibly when cleaning my keyboard) then I 'd appreciate help on either
Ghostycat is offline   0 Reply With Quote
Old May 3, 2013, 07:24 PM   #15
1member1
macrumors 6502
 
Join Date: Sep 2012
I use Alfred to replace the spotlight. works better for me, never had issue with spotlight though.
1member1 is offline   0 Reply With Quote
Old May 4, 2013, 09:23 AM   #16
Ghostycat
macrumors newbie
 
Join Date: May 2013
Quote:
Originally Posted by satcomer View Post
To re-index Spotlight in OS x you just need to fire up /Applications/Utilities/Terminal app and put in the command
Code:
sudo mdutil -E /
and hit the return button. This will cause Spotlight to reindex your mounted drives. It's best to do this when you ready to sleep, it will take a little while.
when I put in this code the response is that there is no index (and, indeed, I could find none in my library). How do I come up with a new index?
Ghostycat is offline   0 Reply With Quote
Old May 5, 2013, 03:04 PM   #17
satcomer
macrumors 68040
 
satcomer's Avatar
 
Join Date: Feb 2008
Location: Upstate NYS
Quote:
Originally Posted by Ghostycat View Post
when I put in this code the response is that there is no index (and, indeed, I could find none in my library). How do I come up with a new index?
Did you try to see if is in your copy it in10.8? Just fire up Terminal again and type:
Code:
man mdutil
Then see if is it was in your 10.8.x.

----------

Quote:
Originally Posted by satcomer View Post
Did you try to see if is in your copy it in10.8? Just fire up Terminal again and type:
Code:
man mdutil
Then see if is it was in your 10.8.x.
Plus look at the Apple Discussion 10.8.2 spotlight indexing issue because I think it has some fixes in it.
__________________
Mac Pro Dual 2.8 Quad(Rev B.), 16 G RAM, OS X 10.9, 23'' LCD
Mac Book Pro Core 2 Duo 2.16Ghz, SuperDrive, 2G RAM, OS X 10.7.5
iPad 3, 32 black
satcomer is offline   0 Reply With Quote
Old May 8, 2013, 09:17 AM   #18
Isamilis
macrumors regular
 
Join Date: Apr 2012
The other ways, you could go to spotlight preference, and disable and re-enable again index of the HD.
Isamilis is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How often does Spotlight index? DramaLLama OS X 2 Jan 19, 2014 07:35 PM
Spotlight inaccurate geraldfleck OS X 10.8 Mountain Lion 3 Nov 15, 2012 11:54 AM
spotlight? Afbar1114 MacBook Pro 6 Sep 2, 2012 08:57 AM
Spotlight Issues angusmcfisher OS X 10.8 Mountain Lion 1 Aug 10, 2012 05:46 AM
What is the difference between ~/Library/Spotlight and /Library/Spotlight okizen Mac OS X 10.7 Lion 4 Jul 1, 2012 12:58 PM

Forum Jump

All times are GMT -5. The time now is 11:25 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC