CalendarAgent woes… and solution.
22.07.2013
Every couple of weeks, CalendarAgent on my machine begins to spin out of
control. First there's a considerable decline in speed when adding or editing
events in Calendar.app, up to the point where it's hardly usable at all.
Also, every now and then there are spikes in CPU usage all due to
CalendarAgent (seemingly doing nothing). There are multiple reports of users
which have the same problem on OSX 10.8.x, but most of the provided solutions
didn't work for me.
This is how I solved the problem for me:
$ launchctl unload /System/Library/LaunchAgents/com.apple.CalendarAgent.plist
$ rm -f ~/Library/Calendars/Calendar\ Cache
$ launchctl load /System/Library/LaunchAgents/com.apple.CalendarAgent.plist