Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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 18, 2014 11:40 AM in response to Linc Davis

I had this same problem this morning on a Mac Mini 2.7Ghz i7 and I think I've resolved it per Linc Davis' suggestion.


The Mac was bound to an active directory domain. I upgraded from 10.9.4 to 10.9.5. Soon after logging on following the update I saw opendirectoryd using ~300% CPU in Activity Monitory. I noted the following in the opendirectoryd.log:


2014-09-18 13:42:51.620877 EDT - 21.2630.2633, Node: /Active Directory/US, Module: ActiveDirectory - __odnode_copy_record_block_invoke: 10000 n/a

2014-09-18 13:44:58.941243 EDT - State information (some requests have been active for extended period):

Sessions: {

21 -- opendirectoryd:


Eventually opendirectoryd would relaunch and the process would start again, pegging the CPU. I let it sit for a while in case it was being caused by spotlight indexing the disk; when I came back to it I believe it was kernel_task that was using 4 GB of memory and the machine was even more sluggish while opendirectoryd was busy doing whatever it was doing.


I removed the Mac from the Active Directory domain. I removed the .plist files from /Library/Preferences/OpenDirectory/Configurations/Active Directory and /Library/Preferences/OpenDirectory/DynamicData/Active Directory. I then re-bound the Mac to the domain. Since then opendirectoryd has been behaving and I don't see the "(some requests have been active for extended period)" message in opendirectoryd.log any more.


I wanted to bump up logging on opendirectoryd to try to get a better idea what was going on, but I tried using odiutil from terminal however that command is no longer available. My brief searching did not uncover a way to increase the logging level for opendirectoryd in 10.9.

Sep 18, 2014 1:10 PM in response to Linc Davis

so i sort of spoke too soon, I'm not running anything but my Mac does appear to be hitting 95% cpu usage (64.72% user and 30.55% system) when I sort in activity monitor I see that opendirectoryd is at 691.3% cpu usage, consuming 77 threads? The next closest process is kernal_task at 17.1%


i've tried killing it and it just spins itself back up. The iMac appears to be functioning fine, but switcing between applications shows there is considerable lag.

Sep 19, 2014 1:34 AM in response to GregD7

GregD7 and Linc Davis, thank you for your suggestions. What I tried is that I disconnected my macbook from the network and the opendirectoryd activity suddenly drops; when I connected macbook back to the network, the process starts to drain 200+% of the CPU power again.


Unfortunately, I cannot unbind from the domain as I don`t know domain administrator account (I can do force unbind, but then I expect I won`t be able to bind back as this would require domain administrator credentials as well). As this is a company macbook, I need to catch IT support to help me with this binding/unbinding.


But thank you for your suggestions, it looks the domain is really the root cause.

Sep 19, 2014 7:19 AM in response to Vlasak

Hi from Russia!


I observe same behavior with my MB Pro Retina.

After login to corporate domain controller, opendirectoryd begins excessive consumption of CPU resources and memory. This activity can eat all the RAM, and then the computer dies.


In /var/log/opendirectoryd.log i see many sections like this


2014-09-18 13:59:20.921673 MSK - 497.2461 - Client: Mail, UID: 501, EUID: 501, GID: 20, EGID: 20

2014-09-18 13:59:20.921697 MSK - 497.2461 - ODNodeCreateWithNameAndOptions request, SessionID: 00000000-0000-0000-0000-000000000000, Name: /Contacts, Options: 0x0

2014-09-18 13:59:20.921741 MSK - reaping connection '/Contacts:search:82C06CA0-EF0C-4E3C-8AE9-1C92A7B756C0'

2014-09-18 13:59:20.921762 MSK - 497.2461, Node: /Contacts, Module: search - tracking connection '/Contacts:search:D1950F76-D4E6-427A-947E-34736F02A8AB'

2014-09-18 13:59:20.921778 MSK - 497.2461, Node: /Contacts, Module: search - initiating reconnect for '/Contacts:search:D1950F76-D4E6-427A-947E-34736F02A8AB'

2014-09-18 13:59:20.921804 MSK - 497.2461, Node: /Contacts - node assigned UUID - 46FF31F2-9B7C-4AEF-8D1D-E0D4A97189EE

2014-09-18 13:59:20.921876 MSK - 497.2461, Node: /Contacts - ODNodeCreateWithNameAndOptions completed

2014-09-18 13:59:20.922068 MSK - 497.2462 - Client: Mail, UID: 501, EUID: 501, GID: 20, EGID: 20

2014-09-18 13:59:20.922114 MSK - 497.2462 - ODQueryCreateWithNode request, NodeID: 46FF31F2-9B7C-4AEF-8D1D-E0D4A97189EE, RecordType(s): dsRecTypeStandard:People,dsRecTypeStandard:Users, Attribute: dsAttrTypeStandard:RecordName, MatchType: CompoundExpression, Equality: CaseIgnore, Value(s): (|(dsAttrTypeStandard:EMailAddress=discover@new.itunes.com)), Requested Attributes: dsAttrTypeStandard:Picture,dsAttrTypeStandard:EMailContacts,dsAttrTypeStandard: EMailAddress,dsAttrTypeStandard:RecordName,dsAttrTypeStandard:AppleMetaNodeLocat ion,dsAttrTypeStandard:AppleMetaRecordName,dsAttrTypeStandard:RecordType,dsAttrT ypeStandard:GeneratedUID,dsAttrTypeStandard:JPEGPhoto, Max Results: 2147483647

2014-09-18 13:59:20.922133 MSK - 497.2462, Node: /Contacts - queuing request to connection - '/Contacts:search:D1950F76-D4E6-427A-947E-34736F02A8AB'

2014-09-18 13:59:20.922150 MSK - 497.2462, Node: /Contacts, Module: search - predicate - no mapping for attribute 'dsAttrTypeStandard:EMailAddress'

2014-09-18 13:59:20.922160 MSK - 497.2462, Node: /Contacts, Module: search - predicate - no mapping for attribute 'dsAttrTypeStandard:EMailAddress'

2014-09-18 13:59:20.922277 MSK - 497.2462, Node: /Contacts, Module: search - skipped node '/Active Directory/FORS' could not open

2014-09-18 13:59:20.922359 MSK - 497.2462, Node: /Contacts, Module: search - ODQueryCreateWithNode completed

2014-09-18 13:59:20.922511 MSK - 497.2463 - Client: Mail, UID: 501, EUID: 501, GID: 20, EGID: 20

2014-09-18 13:59:20.922523 MSK - 497.2463 - ODNodeRelease request, NodeID: 46FF31F2-9B7C-4AEF-8D1D-E0D4A97189EE

2014-09-18 13:59:20.922564 MSK - 497.2463, Node: /Contacts - ODNodeRelease completed

2014-09-18 13:59:20.922597 MSK - clearing all node authentication connections

2014-09-18 13:59:20.922600 MSK - Disconnecting /Contacts:search:D1950F76-D4E6-427A-947E-34736F02A8AB


I applied the recommendations described hereinabove - reset sms and pram. so I dropped the network settings... And i have no idea about what it is

Sep 19, 2014 8:01 AM in response to GregD7

I had the same problem this morning on an iMac bound to AD. @GregD7 had the solution. Things are running smooth again. A couple of things to note:

1. I had trouble even logging in after reboots because opendirectoryd was hogging resources. I found that if I did a hard reboot and logged in quickly, before the network authentication kicked in, the log in went fine, otherwise if I waited too long, the log in process would just hang.

2. Once logged in, it can be hard to even get to the System Preferences to do the Unbind while opendirectoryd is going berserk. I brought up ActivityMonitor first and just killed opendirectoryd every time it would become active. This gave me enough resources to do the unbind.

3. If you need to know how to Unbind, it's here: Mac OS X 10.6 Server Admin: Unbinding from the Active Directory Server

4. I took a screen shot of the ActiveDirectory configuration dialog just in case.

5. My /Library/Preferences/OpenDirectory/Configurations/Active Directory did not have any .plist files

6. I did not have permission to access /Library/Preferences/OpenDirectory/DynamicData/Active Directory so went through terminal and did a sudo -i, then deleted the one .plist file.

Big thank you to @GregD7!

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.