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

Directoryservices 190% CPU

Hello, hello,

I just installed Leopard, but now every now and then the CPU use goes up to 190% with a process called DirectoryServices. Forgive my ignorance but what's going on? Applications don't work after a few seconds and all I am left to do is force shut down the computer and re-start. Any help is greatly appreciated!
Gabriel

MacBook Pro 2.0 1.5GB RAM., Mac OS X (10.5)

Posted on Nov 1, 2007 4:55 AM

Reply
109 replies

Nov 2, 2007 6:56 AM in response to Gabriel Chavez-Tafur

I'm having the same issue this morning on my MacBook Pro - upgrade from Tiger to Leopard. I've also seen various other flaky issues around focus and cpu stability, but none that I can repeatably identify yet.

I really like leopard in general, but I'm very surprised at the nature of the initial issues I've seen. Low-level scheduling, daemon and stability issues are not the usual "version 1" bugs.

Apple - fix this now please.

Nov 2, 2007 2:52 PM in response to reubx

Hello,

you're not alone. I'm having the same issue with a MacbookPro2,2. Sometimes, everything's quiet and suddenly, I notice 6000rpms vans and 195%cpu DirectoryService.
The only thing I can do is to press the shutdown button during 5 sec to shutdown my MBP. It's very unpleasant. I took a mac not to have to reboot my computer and I hate doing it.

I hope this problem (and others like Airport problem for example) are taking seriously by Apple.

Nov 7, 2007 10:48 PM in response to pmsaue0

Perhaps it would resolve the situation to trash the contents of the folder "DirectoryService" in the "Preferences" folder (path: "+Macintosh HD+">"Library">"Preferences">"DirectoryService") I've tried this potential solution after experiencing this particular problem, and so far I haven't experienced the excessive CPU processing again. Fingers crossed.

Phillip

Nov 8, 2007 9:57 AM in response to Gabriel Chavez-Tafur

Same problem here, DirectoryService eating my cpu. Two times I was at the keyboard and could simply force quit it, one time (i'm guessing) the screensaver was on (with password) and I just got the spinning beachball, had to shutdown the machine. No problems on my Mac Pro, it's only the MBP that seems to have problems. I only had them (so far) when Airport was switched off and no other network connection was active.

I've been unable to find anything useful in the log files.

Nov 8, 2007 7:02 PM in response to Gabriel Chavez-Tafur

I too am experiencing this problem...

Out of curiosity, do any of you have Logitech Control Center (LCC) installed for a mouse or keyboard or installed Application Enhancer (APE)? The reason I ask is that I was having no problems with Leopard until last night when I installed LCC for my new MX Revolution mouse.

I believe this problem is similar to what was happening to the people who were getting a blue screen after upgrading from Tiger.

Nov 10, 2007 10:07 AM in response to Gabriel Chavez-Tafur

Hi all,
I chmod'd /Library/Preferences/DirectoryService to 775 as well, and then killed DirectoryService. The launchd restarted DirectoryService and the 99.4% CPU usage has dropped to 0%.

I also have Parallels installed (not sure if this is relevant but thought to comment). An interesting test could be to set the directory perms back to 755 and then use the new Dtrace tools to check it out.

Nov 10, 2007 11:18 AM in response to Gabriel Chavez-Tafur

Same problem here: MacBook Pro upgraded to 10.5, bound to Active Directory -- but I was off the LAN and not connected to my domain controllers when I upgraded, and I also saw the 180% CPU on DirectoryService. Following the tips below, I did the following:

Connected to my LAN so that the domain controllers were reachable
Opened Terminal
Ran these commands:
sudo chown -R root:admin /Library/Preferences/DirectoryService
sudo chmod -R 775 /Library/Preferences/DirectoryService
sudo killall DirectoryService

Seems to have settled down now. I'll see if the fix survives a restart.

Thanks!
--M.

Directoryservices 190% CPU

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