Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sososowhat

macrumors 6502
Original poster
Feb 20, 2003
287
42
Palo Alto, CA
I'm running a Macbook Pro, 10.8.2, 8 Gig, 120Gig OWC SSD. All was fine (no recent system changes though maybe Software Update did something). Then a few days ago Spotlight started running forever, never even getting past Estimating indexing time.

Looking at the system log, mdworker seems to be crashing constantly. I've seem a number of other similar threads here & on Apple Support, but no one seems to have pointed out mdworker crashing or come up with a definitive solution.

HELP!
 

Attachments

  • PastedGraphic-1.png
    PastedGraphic-1.png
    111.8 KB · Views: 745

sososowhat

macrumors 6502
Original poster
Feb 20, 2003
287
42
Palo Alto, CA
Can anyone help with this? I've had to turn Spotlight off & that really sucks.

Suggestions, particularly brilliant inspired knowledgeable suggestions, would be greatly appreciated!
 

Xavier

macrumors demi-god
Mar 23, 2006
2,829
1,610
Columbus
Spotlight has been indexing a lot more often then it used to for me but I haven't thought anything of it really.
 

sososowhat

macrumors 6502
Original poster
Feb 20, 2003
287
42
Palo Alto, CA
Have you tried starting your spotlight index over from scratch?

sudo mdutil -E /
Well, something I've done seems to have worked! I tried the mdutil -E as suggested, & toggled with -i on as well & now things seem to be working (though won't know for sure till it's done & I've got 6 hours remaining on the rebuild on a 120Gig SSD, which seems mighty slow to me).

It could have been something else, but I think it may well have been the mdutil magic. Thanks thirdeye for the suggestion!
 

sososowhat

macrumors 6502
Original poster
Feb 20, 2003
287
42
Palo Alto, CA
Ok, no -- the problem's back & no combination of mdutil flags & reboots seems to be helping it. Spotlight running forever, never getting past estimating time. PID 0 using 20% of the CPU. Fans spinning.

Anyone?
 

thirdeyeopen666

macrumors 6502
Sep 16, 2007
460
128
Dang. Wish that had worked. It could be a bad sata cable... Or even a bad drive. I'd probably try a clean install before assuming it was hardware though.
 

sososowhat

macrumors 6502
Original poster
Feb 20, 2003
287
42
Palo Alto, CA
Ok, solved I think. It had nothing to do with Spotlight per se: There was some corrupt file in one user account. The finder hung trying to copy that directory as I was preparing to do a clean install. Disk Utility couldn't repair it and suggested I backup what I could & reformat the disk. However: after I removed the one user account, spotlight runs fine (just finished after 90 minutes or so) & Disk Utility was able to repair the disk.

Definitely not very helpful behavior on the OS's part (Spotlight hangs, file-copy hang, Disk Utility throwing up its hands), but I'm happy to have it all working again. Hopefully permanently.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.