Skip to main content

Apple drops discoveryd in latest OS X beta following months of network issues

After many complaints from the developer community about poor networking performance on Yosemite, the latest beta of OS X 10.10.4 has dropped discoveryd in favor of the old process used by previous versions of the Mac operating system. This should address many of the network stability issues introduced with Yosemite and its new networking stack.

The discoveryd process has been subject to much criticism in recent months as it causes users to regularly drop WiFi access and causes network shares to list many times over, due to bugs. Many developers, such as Craig Hockenberry, have complained about the buggy software and workarounds have been found to include substituting the older system (called mDNSResponder) back into Yosemite.

discoveryd would cause random crashes, duplicate names on the network and many other WiFi-relate bugs. In the latest beta, Apple appears to have applied the same fix as the enthusiasts by axing discoveryd completely.

Looking at Activity Monitor on OS X 10.10.4 seed 4, discoveryd is no longer loaded by the system — instead relying on mDNSResponder. The ‘new’ process is really the one Apple used to use pre-Yosemite and did not have these problems.

It is still unclear why the change in the networking stack was ever made given that the old process worked so well and the new process had so many issues. There has been some speculation that the new stack is related to AirDrop and Handoff functionality although testing showed that these features still worked when the system was reverted back to the old process.

Regardless, it will please many to see that Apple has finally addressed these complaints, even if it embarrassingly involves going back to the old system rather than fixing the new code. OS X 10.10.4 will be released to the public in the coming months.

Apple is focusing on performance and stability for iOS 9 and OS X 10.11, so it will be interesting to see whether discoveryd makes a comeback in Apple’s next-generation operating system.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. nelmat - 10 years ago

    Thank god for that – it’s been a complete mess. Can’t believe this has taken so long to fix, but very glad it finally has.

    • drhalftone - 10 years ago

      I agree. Boy, I can’t tell you how much sleep I have lost knowing that discoveryd was in there in the first place. After reading this story yesterday, I think I had the best sleep in my life last night.

      • lin2logger - 10 years ago

        I hope you realize HOW utterly pathetic that statement is.
        (otherwise don’t forget the [sarcasm] tags)

  2. rnc - 10 years ago

    LOL!

    discoveryd has been the shame of Apple since Yosemite release!

    How can they make such a simple piece of software so buggy!?

    Good ol’ and open source mDSNResponder, welcome back!

  3. srgmac - 10 years ago

    This was doomed from the start. I never understood the switch; mDNSResponder has been used for years and works pretty damned good compared to discoveryd. I’m glad they came to their senses though..so many absolutely ridiculous bugs.

  4. Andrew Messenger - 10 years ago

    Thank goodness. Also kind of embarrassing and funny for Apple. But as long as what I see ends up being an improvement, I’m happy about it.

  5. I always had a problem with it. Especially as I could never force quit it when facing issues. Now it’s good news that Apple could point the issue and resolved it. As I checked, it’s not in activity monitor currently. So I continue to check for issues and reports. Thanks for this article.

  6. srgmac - 10 years ago

    Now all we need is root pipe fixed…it’s only been around 8 months now since it was first reported to Apple…sigh.

  7. Scott Buscemi - 10 years ago

    “although testing showed that these features still worked when the system was reverted back to the old process”

    Really? I still can’t get AirDrop to work ever.

    • coolfactor - 10 years ago

      Then likely not a problem with you Mac, but something else in your setup. Router blocking ports?

      • Richard Ian Birch - 10 years ago

        It doesn’t use your router. It uses Bluetooth to establish the link and Wi-Fi Direct for the data transfer.

  8. coolfactor - 10 years ago

    I do want to know what the motivation for implementing discoveryd was? Is it a small, more nimble daemon? Faster? Easier to maintain? There had to be a good reason for them wanting to invest time and energy into developing it.

  9. gkbrown - 10 years ago

    Echoing the “thank God” comments. I have had to disable “wake for network access” on all of my machines since Yosemite came out. Hopefully I can now turn it back on!

  10. Seeping iN (@CPngN) - 10 years ago

    discoveryd was implemented to help with low power modes (sleeping, but awake enough to do fancy things such as wake up when you try to access a Macbook even though the lid is closed). It was one of many pieces to help increase battery life.

    • irelandjnr - 10 years ago

      That’s not true. Wake for network access which you described was around before it.

      • I don’t think the suggestion is that discoveryd enables wake on access, but that it was a new design whose intention was to replicate mDNSResponder functionality, but to operate with less battery drain.

  11. Jim Hassinger (@Swift818) - 10 years ago

    And I was wondering why I could no longer keep the Mac functional more than about 12 hours. With 10.4, there’s been a slow improvement. I’ll have to try this when I get home again.

  12. petieg - 10 years ago

    Anybody know if it IS the version directly from Mavericks or has mDNSResponder been updated for Yosemite?

  13. petieg - 10 years ago

    I bet this will clear up all of my 3rd party AirPlay speaker issues (ie: missing from LAN) I’ve been having ! (Auris, eXtremeMac, Harmon K)

  14. driverbenji - 10 years ago

    Question: Does Mail app also use Discoveryd? If so, maybe Mail will get better also.

  15. groblewis - 10 years ago

    Who was it said “Better is the enemy of good enough”?

    The first time I saw the warning that “some other device on the network is using your IP address” it led to a lot of head scratching, until I finally found out it was a Yosemite bug. Thanks, Apple.

    I would LOVE to know whose bright idea this was, and why, and if they’re being punished.

  16. GadgetBen - 10 years ago

    I had so many problems waking the Mac from sleep and waiting 2mins> for it to connect to the network. Don’t know if that was down to this but looking forward to the update installing now!

  17. orthorim - 10 years ago

    I can’t think of a single OS X release that didn’t also introduce new WiFi issues and problems… I don’t know what it is but Apple is at war with WiFi.

    There was that time when I replaced my $200 AirPort Extreme base station with a cheap $20 DLink box and suddenly all my networking issues disappeared… it just worked from that moment on.

  18. Jonny - 10 years ago

    Can someone explain how the change of this on a Mac will have an impact on other wireless devices on the network (e.g. an AppleTV)? Will the change back to mDSNresponder be included in software updates for those devices (iOS devices, Airport routers, etc)? When I would see AppleTV (2) or MacBook Pro (4) in device listings, I would assume all of the devices are having the same issues.

  19. Josh Ames (@joshames) - 10 years ago

    Hallelujah!!!!

  20. If they can fix the windowserver process while they’re at it, this would be a marvel.

    Before Yosemite beta, I used to restart my Mac every … basically whenever a system update required a restart. Ever since I joined the beta testing program last year, I’ve had to restart my Mac every few days. The windowserver would climb to a minimum 45% cpu usage, ui responsiveness would degrade seriously and then I’d start looking reboots. Resetting the PRAM also doesn’t solve the problem… it comes back to being slow after a few days.

  21. SKR Imaging - 10 years ago

    I had an issue where my CPU was being used 100% all the time and battery life was 2 hours instead of 7.. I force quit discoveryd process and trashed Preferences.plist file and now everything worked great.. good ridance.

  22. vidyerthy - 10 years ago

    “revert *back*” Seriously…. I just reverting is enough :-)

  23. Aaron Fineshriber - 9 years ago

    sadly, after updating to 10.10.4, once i enabled AirPlay my wifi performance goes way way way down. disable airplay again and i’m back to normal.

    so i’m glad this helps people, but it hasn’t solved at least one of the big issues with wifi perf.

  24. maurerkl - 9 years ago

    WiFi is still running terribly.

Author

Avatar for Benjamin Mayo Benjamin Mayo

Benjamin develops iOS apps professionally and covers Apple news and rumors for 9to5Mac. Listen to Benjamin, every week, on the Happy Hour podcast. Check out his personal blog. Message Benjamin over email or Twitter.


Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications