Last couple of day something strange happened to my MacBook. I noticed that when i am in the office the MacBook starts to be very slow, overheat and battery is draining very fast. The strange part is that this thing happened only while i was in the office connected to the work network.
After a quick look in the list of active processes (via an application called “Activity Monitor”). i’ve been able to trace it down to a process called opendirectoryd that was extremely heavy on the CPU usage. Killing the process did not help as it was immediately restarted.
Googling I’ve found many results related to similar issues. Apparently there are many reasons why it can happen…In my case the solution was here If the opendirectoryd process CPU utilization is high after updating to OS X v10.9.5.
It appears that opendirectoryd is a process for authenticating to the corporate Active Directory but until now i am not sure exactly what this process does, what triggered the problem and why the instructions on the page above actually work. But it work and that is what i care about for now.
As stated in the KB in the directory utility under authentication there were two entries for my corporate network. I’ve deleted the shorter one. And the problem disappeared.
One thing that is not mentioned in the KB is that the problem did not disappeared immediately. Rather, I had to restart the Mac and upon the reboot of the system the CPU usage was as low as it needs to be. Life is good again 🙂