Apple Event: May 7th at 7 am PT

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

After 10.10.3/sleep discoveryd runs 100% CPU

I have a MacBook Pro (15-inch, Early 2011) i7 2GHz.


After upgrading to 10.10.3 the fan comes on permanently after waking from Sleep.


The Activity: discoveryd is using 100% CPU.


Shutting down rather than Sleep seems to stop this happening, so far.


I'm guessing this will be a "wait for the next upgrade" problem.

Posted on Apr 9, 2015 10:01 AM

Reply
55 replies

Apr 11, 2015 9:49 AM in response to Linc Davis

Thanks for the help, Linc! Funny thing: yesterday I was about to run through deleting that "zz" folder cache, but before I did it I rebooted and ran Disk Utility to Verify and Repair Disk Permissions (I had forgotten to do that after the 10.10.3 update). I ran it a few times, just in case, and now I haven't had any problems again with discoverd....even though I've run through sleep/wake several times.


I'm going to keep my eye on it and reply back if it occurs again, but I thought I'd mention it in case it could help out here...hope it does!

Apr 11, 2015 9:54 AM in response to polarman3d

I have been switching off for a day or so, so I hadn't checked whether it is still rampant.


But checking now and although discoveryd still runs after Sleep it seems to be using a more sensible amount of CPU.


Maybe it's one of those things that needs to do a lot of catching up after an update (like Spotlight). I do often get the fans revving up after an update but discoveryd has been much more persistent and unusual in that it was Sleep-related too.


Thanks for the heads-up. We may be back to normal!

Apr 12, 2015 4:11 AM in response to polarman3d

polarman3d wrote:


Yeah, I'm bummed this is happening, but hopefully they'll find a fix soon. Good for you that it's not just the old models! 🙂 I did find a temporary fix from this thread:


sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist


That seems to work, but only for a bit. Sleeping/wake will probably cause the problem again...

All that does is unload & restart the service. It seems likely it will get back to consuming all the CPU since the service has not altered.


Here is another shot in the dark…

Try setting another DNS server in your network config

  • System Preferences > Network, select the connection you use for the local network & internet (e.g. Wifi or Ethernet).
  • Unlock the preferences if the padlock is closed (requires your admin username & password).
  • Click the Advanced button…
    • In the DNS tab…
    • Make a record of any existing servers - ignore the grey entries, these are simply default ones suggested by the router.
    • Click the + to add a new DNS server, enter one of the bold ones suggested below.
  • Save the settings & see if the issue reappears. Reboot if you want a simple way to restart the service.

Google have a free DNS server at these addresses…

8.8.8.8

8.8.4.4

…or you can try any other DNS service you desire (like Open DNS etc).



Another thing to try is disabling multiple network interfaces if you have several enabled. These can be toggled in the 'gear menu' of the interface listing.

Report back with your results please. Repeat the steps that made it fail before (let it sleep etc).

To undo the DNS change delete the Google DNS server & re-enter the one that was noted earlier (if you had one set).


P.S.

@Rob Cumberland, those folders Linc Davis suggested are temporary items, they are safe to delete. Please reconsider deleting them - it may actually help if the directory has bad permissions (repair permissions doesn't fix every single folder on the OS).

Apr 12, 2015 8:27 AM in response to Drew Reece

The 3 of us who have this problem now report that after a few days it seems to have settled down.


In my case discoveryd still runs after Sleep (and I think when I boot up) but uses only about 30% CPU at most and is gone after a minute or so.


Previously it was hanging in there at 100% CPU indefinitely.


I think this one has gone away on its own.

Apr 12, 2015 8:50 AM in response to Rob Cumberland

I'm not sure you are the only 3 seeing this…

What to do about discoveryd

There may be other threads too.

I wonder if it is related to Photos app or some other new feature on 10.10.3, it's unclear if you are all uploading images to iCloud etc.

When 10.10 came out others had issues with discoveryd & some even went as far as disabling & reinstalling the version of mdnsresponder from 10.9…

http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/ (don't try that)


You may all consider creating EtreCheck reports to compare installed software - it could help indicate common items between your Macs.

http://etresoft.com/etrecheck

Apr 12, 2015 9:31 AM in response to Drew Reece

I found the mdnsresponder issues and some other problems via Google but nothing that matched this one.


Pierre from page 1 hasn't reported back, so he may still need help.


I've marked the useful replies here so if anyone follows us they can see what we know.


Unless it starts happening again or Pierre comes back I'm done. I don't think there's anything else we can do with this forum... it's pretty limited in terms of logging results.


(Incidentally I used to use 8.8.8.8 but I had a problem with that on the previous release I think. Getting rid of 8.8.8.8 solved that one.)

Apr 15, 2015 8:32 AM in response to Rob Cumberland

It's old story for me. please follower up!!

[discoveryd problem]No internet connection after lid on/off and CPU 100% leak



goto /Library/Preferences/SystemConfiguration/


trash those file and reboot

  • com.apple.airport.preferences.plist
  • com.apple.network.identification.plist
  • com.apple.wifi.message-tracer.plist
  • NetworkInterfaces.plist
  • preferences.plist
  • com.apple.smb.server.plist


so easy!

After 10.10.3/sleep discoveryd runs 100% CPU

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