Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

So I noticed my Air was running very slow. Opened Activity monitor and noticed a process mdworker taking up most of the space. I googled it and it seems to be related to Spotlight.

I opened Spotlight and there appears to be a progress bar along with the message that it is indexing my MacBook Air. I've let this run for ages now but it seems to be stuck at 95%. I tried restarting but I get the same thing. Force quitting mdworker does nothing as it just seems to start again.

Would anyone have any ideas on how to solve this? Thanks!

share|improve this question
add comment

1 Answer

Try to erase the Spotlight index by either running sudo mdutil -Ea or by temporarily adding your startup disk to the privacy tab in the Spotlight preference pane.

If that doesn't work, try to run sudo lsof|grep mdworker or sudo mdutil -Ea;sudo opensnoop -n mdworker to see if the indexing hangs on some specific files.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.