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 13, 2007 5:08 PM in response to Gabriel Chavez-Tafur

I have had the same sort of issues. Trashing the Library folder and chmoding it did not do the trick. What seems to have helped, though, is going to Directory Utility, and under "Search Policy" changing "Search" from automatic to Local directory. It's somewhat early to tell if this has permanently fixed it, but it seems to have substantially lessened the issues I was seeing.

Nov 16, 2007 2:00 PM in response to icebourg

Hi,
Since I started this tread I hadn't had any problems again so kinda forgot about it. But today I unplugged my wireless router to work offline and the DirectoryServices went crazy again. For those thinking an internet connection may have something to do with it, you might be right.
Other than that, I'm no closer to knowing why it happens or what to do about it other than force shut down the computer. Hope someone can give a definitive solution...
Best,
Gabriel

Nov 17, 2007 11:15 PM in response to Gabriel Chavez-Tafur

Hi,
same thing for me, I tought maybe the 10.5.1 patched the problem but it did it again 10 minutes ago. I had to shutdown my MBP.
Do you experiencing airport problems too, because I do. I lost my airport connection sometimes, maybe it's connected.

Well, I'll try the chmod thing and we'll see.

One more thing, the only one App I can't quit when it's happening and before every thing is frozen is Mail. I can quit every single app but Mail doesn't quit so... maybe there's a link in between.

Regards,
Ben

Nov 17, 2007 11:31 PM in response to Gabriel Chavez-Tafur

Is the problem only happening on MacBook pro's machines ?

I don't want to be septic but we are not the major target 😉
Just take a look on the forum. There are threads with 300 replies and this thread is only 20 replies... I think we'll have to find a solution by ourselves because I don't think Apple gonna correct this one right now (no patch on 10.5.1)

I've got 2 major problems and I don't think Apple will correct them... hope I'm wrong.

PS : I also using an local openldap for dev, do you ?

Nov 19, 2007 4:53 AM in response to Gabriel Chavez-Tafur

I'm experiencing the same issue. OSX v.10.5.1, MBP2.2, DirectoryService process hangs sometimes stealing 190% cpu usage.
I tried chmodding, switching to Local search with Directory Utility and the problem remains.
I noticed that the problem happens when Airport is switched on, when I leave or connect to a different AP.
I also tried to disable the DirectoryService entry in lanchd configurations files, but it locked up my MBP on startup. I had to revert the plist files to the original ones getting into single user mode.

Hope that Apple will fix this issue SOON, because a lot of (angry) people seems to experience the same problem!

Regards,

Andrea

Nov 20, 2007 6:00 AM in response to Lill-Fredrik

I'm suffering from the same problem. I use MacBook(coreduo, black) with Mac OS X 10.5.1. I guess this started happening just after upgrading Leopard to 10.5.1. While I'm using my Mac, temperature sometimes goes up above 60 degree C and the fan is getting crazy. The DirectoryService process occupies CPU 100%.
I don't have Parallels and permission and owner information of /Library/Preferences/DirectoryService directory are correct.

Nov 21, 2007 6:19 AM in response to transpose

When DirectoryService process eats up CPU I turned off Airport and the process released CPU and became very quiet. After that I turned on Airport again and so far - a few hours after - everything seems fine. No DirectoryService problem.
I'd like to suggest you guys try this trick and let me know it works or not.

BTW, I heard that 10.5.1 beta for developers had the similar problem. I've installed 9B13 on 10.5 before the official update was released and re-installed 9B18, the official one. Does it have anything to do with the problem?

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.