Recently ran into an issue with Calendar causing a huge CPU spike. Checking the system.log I noticed the following repeatedly in my log:
CalendarAgent[379] Unexpected EOF, returning last token as fallback
CalendarAgent is essentially Calendar’s backend (that’s how it’s also able to power the notification center). The best resolution I’ve found is to completely clear out the calendar and recreate it. Process I used was as follows:
- Remove the Calendar from “Mail, Contacts & Calendars” pref panel (just uncheck from the account). Then go into Calendar and make sure the account is removed. If it’s not, remove it.
- Delete
~/Library/Calendars/ - Delete
~/Library/Preferences/com.apple.iCal.plist - Go back into the “Mail, Contacts & Calendars” pref panel, put the calendar back. Give it some time to download.
That seems to have worked for me.
Thank you so much!! I had been looking all over to find the right thing to do. This worked.
Thanks for this, seems to have been the only way I could fix it.
Robert, you are AWESOME!! I have been troubleshooting for over a week – this issue has been driving me crazy. I tried everything and nothing worked until this fix. Now everything is back working perfectly, fast and smooth with no rainbow balls or s-l-o-w applications. CalendarAgent went from being a big fat slob hogging about 8 GB of virtual memory to a dainty reserved southern bell sipping tea. Thank you so much, Robert!
Could you help me with this in Mountain lion ? I have calendars in exchange, icloud and google calendar
This not only worked, but iCal and Reminders now open about 10 times faster than they did previously.
Thank you!
Thank you! It’s works for me and tune my Mac faster.
Robert, it sounds like you’ve solved the problem I’m having. Only one issue on my end: neither of those files exist on my computer. Are they hidden by default?
Is there some reason I wouldn’t have those? I’ve got some calendars syncing through iCloud (the problematic ones, I suspect) and others that sync from GMail through Busycal.
i tried this but didn’t work. instead this worked for me:
http://productforums.google.co.....XZkRZzo10I