Easy Temporary Fix for discoveryd Process Using 100% CPU on OS X 10.10.3April 10, 2015 by Ryan Masuga
After upgrading to Mac OS X 10.10.3 the discoveryd process would ramp up to use 100% of my MacBook Pro's CPU. I noticed this when I felt like my machine was working far too hard for what I was doing at the time, and the bottom felt like it was going to melt my lap.
This quick shell script temporarily fixes it by unloading and reloading the plist file. I don't know how effective this is in the long run, but it does work.
Paste the following two lines into a file, and name it whatever you like, with a '.sh' extension. I named mine "ddfix.sh."
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
Save this as a shell file somewhere. I'm hoping for a quick fix from Apple, so I saved mine to the desktop for now. When it feels like my MacBook Pro could cook an egg, or it sounds like a jet plane ready for take-off, I check Activity Monitor to see if discoveryd is the culprit. If it is, I just need to open a Terminal window and do the following:
~: cd Desktop/ ~/Desktop: sh ddfix.sh
The discoveryd process goes back down to 0.0% and the issue is solved (at least temporarily). Credit goes to this support thread on the Apple forums.
You Might Also Like
Life is short. It's amazing you're even here. Why are you spending so much of your time writing email?
I find red flags with potential prospects early by asking basic qualifying questions about timelines and budgets. Reading between the lines helps everyone move on before too much time is spent on a project that isn't an ideal fit.
In Part 2 of our HubSpot Inbound Marketing Experiment, I share our experience over our first few months with HubSpot and our inbound marketing efforts, and how we eventually called it quits.
In Part 1 of our HubSpot Inbound Marketing Experiment, I explain our decision to go all-in on HubSpot and the idea of inbound marketing to help our early 2016 revenue woes.
More from Masuga Design
Subscribe to receive our newsletter.