Vlasak

Q: 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

Close

Q: Macbook Pro got slow after upgrade to 10.9.5 (Mavericks)

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by SeeCoolGuy2,

    SeeCoolGuy2 SeeCoolGuy2 Sep 18, 2014 9:30 AM in response to Vlasak
    Level 1 (0 points)
    Sep 18, 2014 9:30 AM in response to Vlasak

    how does your system perform if you boot into SafeMode?

  • by SeeCoolGuy2,

    SeeCoolGuy2 SeeCoolGuy2 Sep 18, 2014 10:00 AM in response to Vlasak
    Level 1 (0 points)
    Sep 18, 2014 10:00 AM in response to Vlasak

    I was having similar odd problems but what what appears to have fixed it for me was this post https://discussions.apple.com/message/26273076#26273076

    which suggest to reset your PRAM and then your SMC,

     

    my iMac was taking forever to login to my AD network account but after following the steps at that post my issue appears to be resolved.

     

    Good Luck!!

  • by Linc Davis,

    Linc Davis Linc Davis Sep 18, 2014 10:43 AM in response to Vlasak
    Level 10 (208,000 points)
    Applications
    Sep 18, 2014 10:43 AM in response to Vlasak

    If the machine is bound to a network directory server, unbind from it and test.

  • by GregD7,

    GregD7 GregD7 Sep 18, 2014 11:40 AM in response to Linc Davis
    Level 1 (0 points)
    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.

  • by SeeCoolGuy2,

    SeeCoolGuy2 SeeCoolGuy2 Sep 18, 2014 1:10 PM in response to Linc Davis
    Level 1 (0 points)
    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.

  • by SeeCoolGuy2,

    SeeCoolGuy2 SeeCoolGuy2 Sep 18, 2014 1:16 PM in response to SeeCoolGuy2
    Level 1 (0 points)
    Sep 18, 2014 1:16 PM in response to SeeCoolGuy2

    more:  I noticed that when I unplug my ethernet cable from the back of the mac my CPU usage drops down to idle again :-/ so it's my network? yes this machine is bound to the network, I'm logged in with my network uid

  • by SeeCoolGuy2,

    SeeCoolGuy2 SeeCoolGuy2 Sep 18, 2014 3:45 PM in response to SeeCoolGuy2
    Level 1 (0 points)
    Sep 18, 2014 3:45 PM in response to SeeCoolGuy2

    I gave up on 10.9.5, I performed a TimeMachine Restore to 10.9.4, I'll wait till 10.9.5.1

  • by Vlasak,

    Vlasak Vlasak Sep 19, 2014 1:34 AM in response to GregD7
    Level 1 (4 points)
    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.

  • by micefrommoscow,

    micefrommoscow micefrommoscow Sep 19, 2014 7:19 AM in response to Vlasak
    Level 1 (0 points)
    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

  • by GregD7,

    GregD7 GregD7 Sep 19, 2014 7:39 AM in response to Vlasak
    Level 1 (0 points)
    Sep 19, 2014 7:39 AM in response to Vlasak

    I forgot to mention that I saw the same behavior where the opendirectoryd would no use high CPU and memory usage when the network was disconnected.

     

    I'm curious if others find that unbinding and rebinding to the domain resolves the issue.

     

    For those of you who are still experiencing this issue you should report it to Apple as a bug: https://bugreport.apple.com/

  • by micefrommoscow,

    micefrommoscow micefrommoscow Sep 19, 2014 7:44 AM in response to GregD7
    Level 1 (0 points)
    Sep 19, 2014 7:44 AM in response to GregD7

    You must be a Registered Apple Developer to file bugs via Bug Reporter.

  • by tjamison,

    tjamison tjamison Sep 19, 2014 8:01 AM in response to GregD7
    Level 1 (5 points)
    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!

  • by micefrommoscow,

    micefrommoscow micefrommoscow Sep 19, 2014 9:19 AM in response to tjamison
    Level 1 (0 points)
    Sep 19, 2014 9:19 AM in response to tjamison

    in my case this actions haven't effect

  • by LonniusMax,

    LonniusMax LonniusMax Sep 19, 2014 9:36 AM in response to Vlasak
    Level 1 (0 points)
    Photos for Mac
    Sep 19, 2014 9:36 AM in response to Vlasak

    Same here. Thanks for the detailed steps, @GregD7 and @tjamison (I had only the AD.plist file to delete also), but once I bound back to AD, opendirectoryd shot back to the top of the CPU list. Looks like I'll have to restore down to 10.9.4 until this is fixed. Glad I found this page, though!

Page 1 of 4 last Next