For the past few days, the CPU on my 11″ MacBook Air, running OS X Mavericks 10.9.1 has looked like this:
Periodically—and frequently—a process called, “tccd”, would momentarily ramp up its CPU usage to around 50%. At the same time, the process’s memory would grow and grow. When I checked this morning, it had grown to 1.3GB.
In this post on the Apple Support Communities forum, a user reports high memory usage of the tccd process, but there are no solutions proposed.
In another post someone mentions that the tccd process manages which applications have access to your contacts. That appears to be correct—after I deleted the TCC.db database, the OS started popping up lots of dialogs asking permission if this app or another could have access to my contacts.
But resetting the TCC.db database unfortunately didn’t solve my problem with the tccd process using lots of CPU and memory.
Watching the Activity Monitor for a while, I noticed that Hazel’s “hazelworker” process sometimes ramped up around the same time as the tccd process—you can see this in the screenshot above, in fact—so I started poking around there.
What I found is that several of my Hazel rules involved moving files to a folder which no longer existed (I had moved it a few days ago). After fixing those rules, to my amazement, the problem with the tccd process completely disappeared.
So, somehow, the root of my tccd problem was the existence of broken Hazel rules.
Awesome — same problem here and same fix resolved me. Thank you kindly for posting.
[Updated]: For those people who were looking for a fix for the same issue and are developing with Xcode 8. Please, follow this: https://github.com/XVimProject/XVim/issues/966
Basically, go to System Preferences->Security & Privacy->Contacts and uncheck Xcode.app. Then, restart Xcode and so on !! 😉
what is hazel? i have TCCD chewing 1000% cpu and nothing is checked in the privacy->contacts panel
Hazel is a System Preference utility that can run actions on folders periodically, e.g. “Delete old files from the download folder”, or “Move bank statements to this other folder”.