• On mySimon: Michael Jackson's: This Is It
August 19, 2008 3:46 PM PDT

Why is Spotlight using 98% of my MacBook Air CPU?

by Dave Rosenberg

UPDATED: August 19, 2008 7:42pm

Problem solved. It was a hanging process that got triggered when I installed a new VPN client. The weird thing was it could only be killed via the command line and didn't show up in the Activity Monitor

Why is Spotlight using 98% of my CPU?

Why is Spotlight using 98% of my CPU?

(Credit: Dave's failing MacBook Air)
This MacBook Air goes from decent, to bad, to terrible, back to decent and now into the ridiculous.

Even when running zero applications there are pieces of Apple software that are doing very strange things. The latest issue is that Spotlight is somehow using 98% of my CPU horsepower and the total percentage used is 114.4% which really shouldn't be possible.

Any of you Mac guys out there have any ideas? I killed my replacement Thinkpad battery by accident when I didn't put it into suspend or hibernate.

Dave Rosenberg dishes up "Software, Interrupted" with nearly 15 years of technology and marketing experience that spans from Bell Labs to multiple start-up IPOs to open-source enterprise software companies. He is co-founder of MuleSource and currently serves as the general manager of Hardy Way. He is a member of the CNET Blog Network and is not an employee of CNET. Disclosure. You can contact Dave via e-mail at softwareinterrupted@gmail.com or follow him on Twitter @daveofdoom.
Recent posts from Software, Interrupted
Open-source Hadoop powers Texas smart grid
Microsoft's weak cloud privacy position
IBM helps students put their heads in the cloud
Amazon gets social with Twitter integration
Turning Twitter into an application server
Virtual goods: Duping the masses?
Virtual-goods resellers on the rise
Most influential open-source gurus? Votes are in
Add a Comment (Log in or register) (6 Comments)
  • prev
  • 1
  • next
by ten90jwhite August 19, 2008 4:44 PM PDT
check out this article: http://www.absorbeo.net/2008/01/05/leopard-and-spotlight-indexing/
Reply to this comment
by dsirkka August 19, 2008 4:55 PM PDT
Hmm. It would seem to me that you are interpreting the screen incorrectly. It seems your using 68% of your CPU and that of that 68%, Spotlight is using 98%. Which would make sense if it was indexing your files.
Reply to this comment
by DarkHawke August 19, 2008 4:57 PM PDT
I don't use Macs, but just from your screenshot there, it looks like your CPU is only running at 58% of capacity (adding the User and System percentages, or subtracting the Idle percentage from 100; BTW, WTH is "Nice"?) The stats below the graph are the percentages of that 58% CPU usage consumed by the listed apps. That don't explain why Spotlight is using 57% of your CPU to do its indexing, but at least it's not overloading your computer! ;) And have you taken a look at this chart when you're running an app, or actively doing something on your Mac? I would think Spotlight would quiet down in that situation and wait for an idle period to do indexing.
Reply to this comment
by sberacha August 19, 2008 6:33 PM PDT
Dear Friend The reading is clear, you are just using a 44% of your CPU resources, I think you should Notice the readings at the top of the screenshot to understand that the CPU is not being overwelmed by only one aplication, since 42% is in idle.
Pretty much that 98% that you notice on Spotlight, it can be also the status of the application, meaning that is close to finish indexing, or also saving. I think if you wait some time the process will finish and also your cpu resources wil go down to 10% or minimal expression.
Reply to this comment
by daverosenberg August 19, 2008 6:35 PM PDT
Yes, you guys are right. It's 98% of 68%
Reply to this comment
by kelmon August 21, 2008 6:15 AM PDT
Spotlight will be quite intensive when it is indexing a drive for the first time or your Spotlight index has been reset so that it's doing it again. However, during normal use Spotlight should consume no processor time except when you are actively using it or a file has been created/updated (mine currently shows CPU usage of 0.0%). All I can think of is that Spotlight has a corrupted index or some such problem, so reseting the Spotlight index may sort the problem out. Try the following command at the Terminal:

sudo mdutil -E /

That will cause Spotlight to delete its existing index for your startup disk and start again. It will take a while for the index to be created but after that the Spotlight process should not consume any CPU resources.
Reply to this comment
(6 Comments)
  • prev
  • 1
  • next
advertisement
Click Here

After 5 years, Firefox faces new challenges

Mozilla helped reshape the Web since releasing Firefox 1.0 five years ago. Now it's got a reawakened Microsoft and Google Chrome to reckon with.

There's a map for that: GPS or smartphone?

Almost every handset comes with mapping software these days, but standalone GPS devices are becoming more affordable than ever.

advertisement

About Software, Interrupted

In "Software, Interrupted," Dave Rosenberg discusses disruption in the software market, as well as the products and services that keep business technology norms in perpetual flux.

With nearly 15 years of technology and marketing experience spanning from Bell Labs to multiple start-up IPOs, Dave co-founded open-source software company MuleSource and now serves as general manager of Hardy Way. He also happens to be a U.S. patent holder and a workaholic. Technology is his best friend and mortal enemy.

Add this feed to your online news reader

Software, Interrupted topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right