Directory Service - high CPU usage & network usage

The DS is constantly running on 50%. There is nothing obvious in my single client network using it nor am I but network up/ down data is also constantly at around 20Kb/s.

I don't know what other information is needed. But I appreciate if someone could explain about it.

work: MBA - magic: MP - ancient: PB2400c, Mac OS X (10.5.7)

Posted on Jul 3, 2009 5:47 PM

Reply
11 replies

Jul 28, 2009 9:41 AM in response to Mark Suhr

Hi,

Some questions about the issue......
1. Have you configured the Directory services with any DNS servers?
2. How many processes you see in Activity monitor under All processes?
3. If you have configured the directory services, then you will need to check the traffic in the network.

Post all information that can be helpful and let me see whether I can help you.....

Aug 2, 2009 8:08 AM in response to Topher Kessler

it relaunches, sleeps for a bit then ramps up the CPU usage again for a minute or 2 then idles, then ramps back up after a bit, etc.

I have LDAPv3 and AD turned off in Directory Utility.

More information: This is a new uMBP, my last MBP didn't have this problem on 10.5.7 (or at all, for that matter). Also, I re-installed Leopard after getting the new computer to get rid of languages, printer drivers, etc to save disk space.

Message was edited by: camflan

Sep 5, 2009 6:39 PM in response to Mark Suhr

Hi,

I had been suffering this problem for a few weeks, and started taking a closer look at the "dscacheutil -statistics" output. I noticed that there were a high number of cache misses, and that even reloading the same web page did not find any cache hits, and thus external lookups were being done. Very strange.

I then remembered that I have a very large /etc/hosts file that is designed to block annoying advertisements on web pages, and which I had downloaded from some helpful site. The file was 54,674 lines long.

On a hunch I replaced this with the system default 4-line version, killed and restarted DirectoryServices, and the problem has disappeared!

So this might be something other people might try ...

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Directory Service - high CPU usage & network usage

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