New MBA plus Migration Assistant can lead to runaway Dock process

July 2, 2012 Sean Beckett

With the power contained in the newest 13″ MacBook Airs l was ready to give up my 27″ iMac for a laptop plus Thunderbolt display. My new laptop arrived today and after a few false starts with Migration Assistant, we got everything moved over and I switched to using my new machine.

While browsing Google Reader during lunch, I was getting hangs just moving between articles. A quick check of iStat Menus showed that two of my four cores were chugging at a constant 70% load, even after I closed all applications. I ran top -o cpu in Terminal to see what processes were burning up the wires and it turned out to be Dock, an Apple OS X internal process. A few minutes Googling lead me to this helpful page on MacRumors and specifically this post. I did indeed have a custom desktop pic on my old machine so this seemed a likely culprit.

I checked the contents of the ~/Library/Preferences/com.apple.desktop.plist and didn’t see anything earth-shattering. It appears to contain only options related to the desktop pictures (if they change over time, where are they located, etc.) Removing the plist is highly unlikely to have any long-term negative consequences, but to be extra careful, you can use these steps that don’t destroy your old plist:

Open Terminal and run

mv ~/Library/Preferences/com.apple.desktop.plist ~/Library/Preferences/com.apple.desktop.plist.bad
killall Dock

This caused the desktop to refresh, loading the default Lion background, and my CPU usage instantly dropped to sane levels. I opened up System Preferences and went to the Desktop pane and was able to quickly restore my preferred background image.

About the Author

Biography

Previous
iOS Roundup: Week of June 25, 2012
iOS Roundup: Week of June 25, 2012

Cool things this week: Cloning a GitHub repository through the HTTPS protocol will always ask for authenti...

Next
How to Setup Your Mac for Rails Development
How to Setup Your Mac for Rails Development

This guide will show you how to setup your Mac environment for optimal Ruby on Rails development. Step 1: P...