flushing cfprefsd causing excessive wake ups.
Running 10.9.5.
My company's Mac has a policy process (jamf) that executes killall cfprefsd, which I understand sends a terminate signal to these daemons. According to the man page (yes this all the info there is):
cfprefsd provides preferences services for the CFPreferences and NSUserDefaults APIs
My search on the webs shows that this terminate signal triggers cfprefsd daemons to reread all plist files. http://manytricks.com/blog/?p=3049
However I am getting into a situation where the system freezes (showing the dreaded beach ball) until it completely has restarted the daemons (which can take 1-5 minutes). On my personal Macbook (running 10.9.4) I don't observe this problem when running killall cfprefsd.
THis is what I find in the logs. Any ideas what can cause the excessive wake ups? Where do I look to find the problem causing this?
13-3-'15 11:30:36.063 AM sudo[54484]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/killall cfprefsd
13-3-'15 11:31:28.000 AM kernel[0]: process who[54487] caught causing excessive wakeups. Observed wakeups rate (per sec): 864; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45001
13-3-'15 11:31:28.000 AM kernel[0]: process cfprefsd[54488] caught causing excessive wakeups. Observed wakeups rate (per sec): 864; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45001
13-3-'15 11:31:28.000 AM kernel[0]: process cfprefsd[54489] caught causing excessive wakeups. Observed wakeups rate (per sec): 864; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45001
13-3-'15 11:31:38.260 AM ReportCrash[54493]: Invoking spindump for pid=54489 wakeups_rate=864 duration=53 because of excessive wakeups
13-3-'15 11:31:39.171 AM spindump[54496]: No microstackshots found
13-3-'15 11:31:39.170 AM spindump[54496]: No microstackshots found
13-3-'15 11:31:39.170 AM spindump[54496]: No microstackshots found
MacBook Pro, OS X Mavericks (10.9.5)