Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Dock CPU usage is killing my battery

Hi

I hope someone can help me.

My Dock application is running at 90-100% of CPU usage. It's killingmy battery on my new MBP (3-days old...)

I've tried:

deleting the prefs file

typing "killall Dock" in Terminal

Reinstalled OSX


Nothing is working. The computer is running superhot and uses up the batter in less than two hours.

I'm not running Parallels or any kind of VM ware.

Any help would be appreciated...

Posted on Jun 24, 2012 5:42 PM

Reply
3 replies

Jul 6, 2012 12:31 AM in response to Aidan Hammond

When I am doing sudo opensnoop -n Dock in Terminal I see that Dock is opening /System/Library/CoreServices/DefaultDesktop.jpg hundreds, if not thousands of times a second. I did


sudo opensnoop -n Dock > out


for about three seconds then hit Ctrl-C and this gives around 45000 accesses.


Seems to be a case of a loop running amok in Dock.


Message was edited by: nalply

Jul 15, 2012 1:52 AM in response to Andreas Overland

I use a dual monitor and three spaces. Can a combination of dual monitor, multiple spaces and multiple random background images have the result that one of the screens turned gray and Dock started to run amok? This seems to have happened with my MacBook Air 2012.


I also found a way to fix it. I did "sudo rm /System/Library/CoreServices/DefaultDesktop.jpg" and then defined a new background image in System Preferences - Desktop & Screensaver - Desktop. All six desktop aren't gray and Dock plays nice.


It's also possible to do a sudo cp like Andreas Overland said.


Therefore, Apple: Maybe you seem to have a bug in System Preferences that the background image can get lost AND you also in Dock, when one of the screens is gray, a thread starts to run amok. Maybe System Preferences messes up with the permissions of the background images? I hope that you, Apple, now have enough information to investigate both issues.

Dock CPU usage is killing my battery

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.