CalendarAgent process is out of control - delegation may be causing problems?

I use GMail/GCal for email and calendar. I had my GCal synced to iCal in Snow Leopard, but stopped using it in Lion. After upgrading to Mountain Lion I decided to give it a shot again, mostly to get my appointments in the notification center. However, I noticed that a process called "CalendarAgent" was using tons of CPU and memory: over 100% and 400 mb, respectively. It was slowing my computer down and killing my battery life.


After some investigation, it seems like Delegation (calendars that are shared to me by other GCal users) may be part of the problem. If I remove all of the calendars from the "Delegation" tab in the Preferences for Calendar, then CalendarAgent goes down to 0-1 % CPU and 156mb memory. It still seems a little high on the memory front, but at least the CPU isn't out of control now.


This is obviously not an optimal solution. I need to access the shared calendars to schedule meetings with my coworkers. Has anybody run into this issue? Any ideas for fixing this? Is it a Mountain Lion bug?

MacBook Pro (15-inch Mid 2010), OS X Mountain Lion

Posted on Jul 29, 2012 10:24 AM

Reply
82 replies

Jan 26, 2013 1:28 PM in response to msl422004

My iMac has been incredibly slow recently ... since around the time I uploaded my Calendars and Contacts to iCould which I did because WiFi sync wasn't working reliably.


I force quit calendaragent and performance improved immediately. I have another calendaragent process now but it is not chewing up cpu or memory. I checked the system diagnostics report in Console and there is a huge file (451KB) starting about 3 hours ago.


I don't use Exchange or Google anything ...

Jan 30, 2013 2:58 AM in response to msl422004

I'm having the same issue: CalendarAgent eating tons of CPU and memory, slowing the system and shrinking battery life.


This may be related to an interaction I made with Google: I tried to delete a recurring event on iCal. I had a pop-up explaining that the server doesn't allow this operation. So I deleted it manually on Google.

Since that, I have these problems and a log file named "CalendarAgent-xxx-cpu_resource.spin", for each day. I guess this is a trace that the system has killed the process due to excessive CPU consumption.

No solution yet...


Hope this helps... and that Apple wil quickly fix that problem !

Feb 2, 2013 5:09 PM in response to msl422004

after having multiple kernel crashes(1.) and searching for the course , I found this topic. and yes , my activity monitor gave me the same results as all the the other users in this topic. After reading many of the stories i started working on this issue.


I already purchased busy call, years ago, because I wasn't happy how the formal i-cal, now calendar was handling my appointments. yes my calendar is also because of this reason for a long time parked at the Google domain.

The good thing now in 2013 is that busy-cal does not need the calendar at all.

today I ended up in quitting all calendars from formal mobile me , and deleted all accounts and connections. of course i did it step by step so if you are sure you have a back-up of your calendar and contacts, you can skip all of the manual steps and just kill all the links to mobile me , my mac and so ever. Busy call will work without them and as long as your information is seen inside your Google account your fine.

So if your safe, start your calendar, go to prefs and check the accounts info tab, just delete the all....

if you want to do it by hand, do it from the website icloud, otherwise , your calendars will come back every time.


Do the same with your contacts. move them to your Google account.

and yes problem solved, my activity center is normal now. I don't no yet if my kernel panic crashes are gone but will let you know in a few days.

good luck


Alex Trebus


(1. i'm wondering why I kept sending reports to apple including my personal contact information, still nobody at apple contacted me, because i had a problem. But I think, You don't need to, if your one of the biggest company's of the world )


Feb 2, 2013 5:10 PM in response to msl422004

after having multiple kernel crashes(1.) and searching for the course , I found this topic. and yes , my activity monitor gave me the same results as all the the other users in this topic. After reading many of the stories i started working on this issue.


I already purchased busy call, years ago, because I wasn't happy how the formal i-cal, now calendar was handling my appointments. yes my calendar is also because of this reason for a long time parked at the Google domain.

The good thing now in 2013 is that busy-cal does not need the calendar at all.

today I ended up in quitting all calendars from formal mobile me , and deleted all accounts and connections. of course i did it step by step so if you are sure you have a back-up of your calendar and contacts, you can skip all of the manual steps and just kill all the links to mobile me , my mac and so ever. Busy call will work without them and as long as your information is seen inside your Google account your fine.

So if your safe, start your calendar, go to prefs and check the accounts info tab, just delete the all....

if you want to do it by hand, do it from the website icloud, otherwise , your calendars will come back every time.


Do the same with your contacts. move them to your Google account.

and yes problem solved, my activity center is normal now. I don't no yet if my kernel panic crashes are gone but will let you know in a few days.

good luck


Alex Trebus


(1. i'm wondering why I kept sending reports to apple including my personal contact information, still nobody at apple contacted me, because i had a problem. But I think, You don't need to, if your one of the biggest company's of the world )

Feb 3, 2013 4:13 AM in response to Patricia W

I have the same problem, after having upgraded to ML straight from OS 10.6.8. I see "CalendarAgent," and although it isn't taking up nearly as much resources, it still refuses to force quit from the activity monitor and persists even after following the steps others have outlined above. (See below for machine details.) After googling way too long and wasted too much time, I have seen reports about a similar mystery process called "com.apple.dock.extra". It too refuses to quit and takes way too much memory and resources, IMHO, compared to processes in OS 10.6.8...


Possible to kill and remove this process?



Model Name: MacBook

Model Identifier: MacBook6,1

Processor Name: Intel Core 2 Duo

Processor Speed: 2.26 GHz

Number of Processors: 1

Total Number of Cores: 2

L2 Cache: 3 MB

Memory: 4 GB

Bus Speed: 1.07 GHz

Boot ROM Version: MB61.00C8.B00

SMC Version (system): 1.51f53

Serial Number (system): W8******8PW

Hardware UUID: 3D497724-5A11-59CB-99DE-C6E473EBC2D3

Sudden Motion Sensor:

State: Enabled


<Edited By Host>

Feb 3, 2013 4:20 AM in response to trebus

trebus: kernel crashes caused by an application are very rare. I'd be surprised if the Calendar caused one. What makes you think it did? What evidence from ActivityMonitor makes you think so? Could you explain?


The only kernel crashes I've seen were with third party software that patched the kernel. In my case, the problem was some third party VPN software I am fortunately no longer required to use.

Feb 3, 2013 6:44 AM in response to AndyOrmsby

Your right, and as I wrote, I should come back on this after a few days, but this morning I had a new kernal panic crash.

This was after a system wake up from sleeping.

2 days ago it happend during modification in a graphics file ( app used is pixelmator, puchased in apple store ) almost every modification in this file ( phonebackground file edit , so not a big file ) gave me a crash.


Many crashed i had in the past, happend when I switch the camera in skype.

I send the crash repport to apple. some day 3x a day.

the last weeks i can use skype again with the camera without the crashes


But the problem in activity center is solved.

May 17, 2013 9:37 AM in response to Ola_M

I have the same problem with CalendarAgent eating my memory. 2.8 gig when I last quit it. Why hasn't Apple had the grace to enter this discussion and offer a solution.

They are not the same company as they used to be when I first started using Macs 20 yrs ago. Back then they took an interest in their customers. Now they just gloat over the bilions in their cash pile, clutching their sides as we whinge away, in wonder at the huge profit magins we allow them. £1000 for a laptop. In 2013? Purlease! I'm really getting to hate Apple. Arrogant ********.

Jul 12, 2013 6:49 PM in response to msl422004

CalendarAgent was consistently hitting about 85% System usage without me running the Calendar app, just like everyone is complaining about. Apple's thread (this one) was listed FIRST in a Google search.

the second hit was the following link, but read this first. those instructions worked for me with one modification.


rather than deleting all your calendars (step 2) AND prefs (step 3), i just deleted my prefs only (step 3).


then go back to the Activity Monitor app and Filter (search box, upper right) for "cal", to keep an eye on it.


then i launched my Calendar app, put in a few Google passwords, and Activity Monitor is showing about 3% usage


here's the link: http://robert.accettura.com/blog/2012/08/19/how-to-stop-calendaragent-from-eatin g-cpu/


thanks Robert, good solution !



from SKASSIS,


http://SKASSISphotoRestore.com

http://SkylandCalligraphy.com

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

CalendarAgent process is out of control - delegation may be causing problems?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.