Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Spotlight Reindexing

Spotlight Reindexing
Thread Tools
Max
Fresh-Faced Recruit
Join Date: Feb 2009
Location: Earth
Status: Offline
Reply With Quote
Jul 26, 2009, 05:42 PM
 
Recently, I began to experience a lot of performance problems (system unresponsiveness—both with and without SBBODs—and general slowdowns). I then began to check Activity Monitor, and noticed that mds was always near the top of its memory list (real and virtual); I also noticed that Spotlight—as bad as it usually is (oh, how I miss Sherlock!)—now often can't even find a simple document—even when I'm staring at it as it sits there staring back at me from my Documents folder! So, I guessed it might be time to force a reindexing.

I did so by adding/deleting my internal drive to/from Spotlight's privacy list. Sure enough, the reindexing began, and I let it run for about an hour. It was late, and my machine was scheduled to sleep soon (in another half hour or so), so I called it a night and went to sleep as well.

When I woke up a number of hours later, for some reason the machine hadn't, even though it was past its scheduled wake-up time. I had to hit the power button to reboot. Once running, Spotlight seemed to pick up its reindexing from wherever it left off.

I then decided I would boot from my “disk utility drive”—a very small external USB drive that’s almost empty, except for OS X, TechTool Pro, and DiskWarrior—and run TechTool Pro, to see if there were any obvious problems on my internal drive that may have contributed to the system's failure to wake up. There weren’t, so I rebooted to my internal drive. However, I noticed that while I was booted to the external drive, Spotlight was indexing that drive, and that once I rebooted to my internal drive, Spotlight no longer was reindexing my internal drive.

Is this consistent with the way Spotlight works? My internal drive is about 85% full, so I’d expect Spotlight to run its reindexing for many, many hours—more than it apparently did; and I have no idea what happens if it’s interrupted (say, by the sleep command, a system hangup, or a hard reboot), nor do I have a clue whether/when it reindexes automatically on its own.
iMac (27", 3.2 GHz Intel Core i3) • 4 GB RAM • 1 TB HDD • OS X (10.6.6)
     
Simon
Posting Junkie
Join Date: Nov 2000
Location: in front of my Mac
Status: Offline
Reply With Quote
Jul 27, 2009, 02:55 AM
 
Does it complete if you do
mdimport /
in a shell?
     
Max  (op)
Fresh-Faced Recruit
Join Date: Feb 2009
Location: Earth
Status: Offline
Reply With Quote
Jul 27, 2009, 10:25 AM
 
Originally Posted by Simon View Post
Does it complete if you do
mdimport /
in a shell?
I'm not comfortable using Terminal. But I'm also not sure whether or not the indexing already was completed. How can I determine that? (That question was supposed to be implied when I said "I have no idea what happens if it’s interrupted (say, by the sleep command, a system hangup, or a hard reboot), nor do I have a clue whether/when it reindexes automatically on its own.")
iMac (27", 3.2 GHz Intel Core i3) • 4 GB RAM • 1 TB HDD • OS X (10.6.6)
     
Big Mac
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
Jul 27, 2009, 10:40 AM
 
It has stopped indexing when there's no longer a flashing dot inside the Spotlight spyglass menu icon.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
turtle777
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status: Offline
Reply With Quote
Jul 27, 2009, 10:53 AM
 
If I have issues with Spotlight, I always use Spotless.

-t
     
Max  (op)
Fresh-Faced Recruit
Join Date: Feb 2009
Location: Earth
Status: Offline
Reply With Quote
Jul 27, 2009, 11:07 AM
 
Originally Posted by Big Mac View Post
It has stopped indexing when there's no longer a flashing dot inside the Spotlight spyglass menu icon.
Yes, I know. I realize indexing stopped...but I have no idea if it was actually completed.
iMac (27", 3.2 GHz Intel Core i3) • 4 GB RAM • 1 TB HDD • OS X (10.6.6)
     
Max  (op)
Fresh-Faced Recruit
Join Date: Feb 2009
Location: Earth
Status: Offline
Reply With Quote
Jul 27, 2009, 11:12 AM
 
Originally Posted by turtle777 View Post
If I have issues with Spotlight, I always use Spotless.

-t
I'm aware of Spotless, though i've never used it. I still would like to understand how Spotlight performs its reindexing in the context of the problem I described.
iMac (27", 3.2 GHz Intel Core i3) • 4 GB RAM • 1 TB HDD • OS X (10.6.6)
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 06:59 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,