CalendarAgent eats my CPU
The CalendarAgent eats my CPU - went to see a Genius - he had no solutions.
Any one?
MacBook Pro, OS X Mountain Lion
The CalendarAgent eats my CPU - went to see a Genius - he had no solutions.
Any one?
MacBook Pro, OS X Mountain Lion
The thing that did it for me was disable a calDAV account that was recently disabled, as per cwight's reply:
Open Calendar
Go to preferences
Select the accounts tab
there, make sure all accounts listed are still active/working, and disable those that aren't in operation anymore. This fixed the cpu hog on Sierra
Seeing this in machines upgraded to Sierra. The problem seems to be associated with the sleep/wake process wreaking havoc with sync (with Google calendar in particular).
The solution that worked for me is the following (Please make sure you have a GOOD BACKUP before trying this.)
1. System Preferences -> Internet Accounts
2. Uncheck Calendars on all accounts
3. Quit Calendar
4. Go to ~/Library/Calendars
5. Delete all of the *.caldav folders (e.g. D82A4F78-DED8-40D7-2D3A-E69A74E87198.caldav)
6. Delete Calendar Cache, Calendar Cache-shm, Calendar Cache-wal
7. Delete files under remaining dirs (Inbox, Attachments,Pending... etc.). LEAVE the dirs themselves.
8. Reboot (I would normally not say this is needed but I think the sync daemons don't like this and need a restart).
9. Open Calendar
10. System Preferences -> Internet Accounts
11. Check Calendars on appropriate accounts
12. Give it a few minutes to sync.
This solution worked for me. Also, I discovered when I unchecked the "Enable this account" box for my Gmail calendar, this brought the CPU down immediately. Interestingly, when I enabled again, the CPU usage was fine after a small blip of CPU usage.
I have exactly the same problem. CPU burning and noise due to high fan rotation to get rid of the heat!
Please Apple update as more and more people have this problem after update new OSX
Same problem here! After some days, it appears from nowhere. Impossible to work with my iMac. Remember me the time with Windows. Also deleting accounts doesn´t solve the problem. "Steve, please come back and show your staff how to create Apple products!" Impossible to believe, that Mountain Lion was tested prior release. Expect to get this fixed - I need to work with my iMac!!!
I was able to get this to stop. Go to:
Click the "Calendar" entry on the left. Un-Check everything on the right. The entry moves to the bottom (or below the line). After that, my CPU went straight down to a normal percentage, system temp dropped, etc.
This is a *bug*. Let's hope a fix comes out so we can enable notifications again!
Hope this helps.
-Steve
I disabled Notifications but it did not help. The only solution for me was to disable my Exchange calendars in System Preferences altogether. Which is not a satisfying solution. Waiting for this bug to be fixed...
Check to make sure any calendar subscriptions you have are working. I had a bad subscription (the calendar I was subscribed to no longer existed). Once I deleted this subscription, my CPU usage returned to normal.
I have been fighting the CalendarAgent file ever since upgrading to ML in July. My battery life on a 2011 MacBook Pro 15" is down to 1.5 hours and it gets very hote...!
I have just written to Apple Tech in Peterborough, Canada as follows:
Thomas:
I must record my entire dissatisfaction with this process. I have spent numerous hours with you on the phone and my Mac 15" continues to run hot and battery life down to about 2 hours max.
This has all happened because of the Mountain Lion upgrade as I did not have any of this before.
Now everyone wants to blame other software on my machine. That is completely irrelevant. I have not loaded any add or unusal software, just Office for Mac and Adobe Creative.
Please look at the comments from numerous Apple owners all over the internet and who have a similar problem: Go to http://goo.gl/DFDCd.
I would like to arrange for my machine to go in and be serviced to solve this once and for all.
Please advise.
Thank you,
If I do not get this resolved satisfactorily and soon, I will revert to Windows 7 and tell the world about it.
Richard Williams
I may have tracked this down to subcriptions. Verify that all of your subcriptions in Calendar are still valid. I had one that was still trying to find me.com.
Now, before I found this solution I created a CRON job that killed CalendarAgent and iCalExternalSync every minute. This made life so much better; Time Machine actually finish backing up 256MB in just a few minutes not a few hours and my whole system became responsive again.
As always, your milage may vary, but this worked for me. I had to replace my US Holidays subscription and make sure it was pointing to iCloud. Once that was done life was very good again.
RonMan
More info and this DOES NOT totally fix the problem, but is does help with some things. The problem is fixed until a local icallocaldeamon is spawned and goes away in flash. As soon as that happens Ical External Sync goes hog wild for a bit and then settles down. CalendarAgent peaks but goes back to normal.
The only remaining problems are that iCalExternalSync is using +420MB of memory and growing and CalendarAgent is at +260MB and growing. CPU usage is minimal after spike cause by the local sync kicking in.
I will report with anything additional I can find.
RonMan
I have now solved my CPU problem. It is a bit brutal but after reading this post:
https://discussions.apple.com/thread/1529476?answerId=7391085022#7391085022
I have deleted all th plist and preferences as my iCal itself even frooze. Now CPU normal etc and have to reset my calendar settings and that went ok.
I hope this help some of you who were as frustrated as I was!
Frank
I found that my .ICS file are bad i.e. too large. Try to export Calendars and then delete your calendars - Import file (s) to a Google Calendar - then Export the file - you will see that the file will be a lot smaller when exported.
This solved my CalendarAgent problem - it is now stable around 70mb.
All my calendars were Google calendars, added originally as delegates, and then apparently duplicated under the accounts system in Mtn. Lions System Prefs.
I removed my entire user/Calendars folder, reconnected my Google account, and let it update all of the calendars. Now everything seems quiet -- no CPU hogging and no disk thrashing (which was even more of a problem than the CPU use)
This was my problem as well. Had a bunch of dead subscriptions, and google calendars. Removed /Users/jklymak/Library/Calendars and all rebuilt fine, and no more infintie *.tmp files. Time Machine now finishes in a finite amount of time as well.
CalendarAgent eats my CPU