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.

Macbook Pro got slow after upgrade to 10.9.5 (Mavericks)

Hello,


I have updated my Mavericks system to the latest version released recently (10.9.5) and since then my system is much slower than it used to be (with side effect that fan is still active).


If I take a look into Activity Monitor, I can see that the process called opendirectoryd is consuming big percentage of CPU power (around 200%).


Looking into the console in system.log is giving me the following failure messages which are being displayed every 10 minutes (roughly):


Sep 18 17:12:38 VLAPE02mac1446 com.apple.launchd[1] (com.apple.opendirectoryd[1694]): Exited with code: 70

Sep 18 17:12:38 VLAPE02mac1446 automount[1700]: od_search: query failed: The daemon encountered an error processing request.


Do you have any idea what could be the problem?

MacBook Pro with Retina display, OS X Mavericks (10.9.5), 2 GHz Intel Core i7

Posted on Sep 18, 2014 8:44 AM

Reply
45 replies

Sep 25, 2014 11:41 AM in response to Vlasak

We experience this same problem on any mac joined to our Active Directory domain that was upgraded to 10.9.5 . We were able to track it down to millions of connections per machine being made to the domain controllers Global Catalog port 3268.


FIXED:

We were able to fix this problem by removing the AD Domain from the Search Policy -> Contacts in the Directory Utility . After this the extra connections stopped and users could login in using their AD credentials again,

Sep 25, 2014 12:28 PM in response to mcglow2

Found the same thing here. On my test machine, I noticed it caused a problem when I bound with the ALL DOMAINS switch set to 'disable.'


To unbind from the command line using SSH or ARD's UNIX command, it looks like you can use this (as root or with sudo):


shortDomainName="yourdomainnamegoeshere"

rm -rfdv /Library/Preferences/DirectoryService

rm -rfdv /Library/Preferences/OpenDirectory

rm -rfdv /var/db/dslocal/nodes/Default/config

dscl /Search -delete / CSPSearchPath "/Active Directory/$shortDomainName"

dscl /Search/Contacts -delete / CSPSearchPath "/Active Directory/$shortDomainName"

dscl /Search -delete / CSPSearchPath "/Active Directory/$shortDomainName/All Domains"

dscl /Search/Contacts -delete / CSPSearchPath "/Active Directory/$shortDomainName/All Domains"

killall opendirectoryd


For the shortDomainName variable, enter the short form of your AD domain name. For example, if your domain name is acme.com, use ACME.

Sep 30, 2014 7:57 AM in response to Vlasak

I can confirm that the Search Policy settings (Authentication in my case) under the Directory Utility was the culprit. I did the SMC, PRAM, unbind and rebind, remove from Apple MDM and nothing fixed it until I went into Search Policy (Paths) and removed everything except Active Directory/DOMAIN/All Domains. After that change the issue was resolved and the user experienced normal CPU usage again.

Oct 2, 2014 1:09 PM in response to GregD7

I saw symptoms exactly as GregD7 describes. I also followed the same steps to disjoin, clean the .plist file, and rejoin to my AD. Symptoms re-appeared immediately after re-join was complete. I then also observed quite a bit of traffic from opendirectoryd & NetBIOS processes directed at one of my DC's. Looking through all the directory settings, I found what seemed to be an extra Directory Domain entry on the Directory Utility > Search Policy > Authentication listing. The affected machine had 3 entries:

  1. /Local/Default
  2. /Active Directory/MYDOMAIN
  3. /Active Directory/MYDOMAIN/All Domains

No other Mac I examined had the 2nd entry present. I removed this entry from the affected machine and rebooted. The issue has seemingly disappeared after that point. Hope that helps other suffering from this issue.

Oct 3, 2014 9:03 AM in response to Vlasak

FYI all the issue appears to have been resolved by Apple, not sure if I missed a communication, or if they haven't gotten around to closing out tickets submitted to AppleCare for this.


Below is how I discovered it was no longer a problem:


I was testing today with ARD's ability to update software on Macs in the environment today and I sent a unix command to two machines with 10.9.4 "softwareupdate -i -a" to install all available updates.


After restarting the machines they updated to 10.9.5, and I no longer see the previous issue. There is no erroneous search policy anymore, and the OpenDirectory tool is no longer spiking. No need to turn off wireless or unplug the network cable to be able to login anymore to be able to delete the search policy, everything is working fine on both macs.

Oct 7, 2014 7:12 AM in response to Vlasak

Hello All - We also experienced this after 2 Mac Book Pros were upgraded to 10.9.5. These machines were bound to the network in AD. One machine we reverted back to 10.9.4 by way of Time Machine. The only time opendirectoryd would go haywire was the machine being on our corporate network and having been upgraded to 10.9.5.


The other was unbound from the network. Is there a ways to alert Apple to this bug?

Nov 5, 2014 3:30 PM in response to buckley100

I ran into a similar issue this week with regards to OS X 10.9.5 (with all updates) AND 10.10 pinwheeling on login; sometimes for as long as 20 minutes. We have a number of Macs configured to log in with Active Directory, but the problem seemed to occur even when a local account was being accessed. However, logging in via safe mode worked completely fine. After a few days of troubleshooting, we discovered that the LogMeIn menu bar application was freezing during the login process. While it was unresponsive, the network connection was dropping packets and disconnected a dozen times (we monitored from the Cisco switch). The only way we found this connection was I got lucky that I forgot to quit out of Activity Monitor when I rebooted. Activity Monitor started up at boot just before the machine locked up. I could see the unresponsive process as it pinwheeled, but couldn't force it closed. I uninstalled LogMeIn from all the affected machines, and now they have all come back to life. I'm not sure if this applies to everyone, but I thought I'd share as we were going insane trying to figure out what was going on. Hopefully patches will come out that will fix the issue.

Macbook Pro got slow after upgrade to 10.9.5 (Mavericks)

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