Fix for discoveryd using 100% CPU on OS X

Easy Temporary Fix for discoveryd Process Using 100% CPU on OS X 10.10.3

April 10, 2015 by Ryan Masuga
discoveryd process

Over 100% CPU usage. Hot!

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 ""

sudo launchctl unload -w /System/Library/LaunchDaemons/
sudo launchctl load -w /System/Library/LaunchDaemons/

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 

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

Keep it Brief. Life is not Email.

January 24, 2017 by Ryan Masuga

Life is short. It's amazing you're even here. Why are you spending so much of your time writing email?

Ask Qualifying Questions Early to Avoid Red Flag Prospects

September 13, 2016 by Ryan Masuga

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.

Masuga’s Expensive Mistake: Our HubSpot Inbound Marketing Experiment (Part 2)

September 9, 2016 by Ryan Masuga

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.

Masuga’s Expensive Mistake: Our HubSpot Inbound Marketing Experiment (Part 1)

September 8, 2016 by Ryan Masuga

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.