Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Jul 29, 2012 8:11 PM in response to msl422004

I went in and disabled all accounts on Mac. I rarely use iCal on Mac, just iPad and iPhone.

They seem to be still working and have bee monitoring Activity Monitor for a few minutes and Calendaragent hasn't reared its ugly head again.


My late 2011 iMac crashes if it goes to sleep. I changed preferences to never sleep but darken screen. An ok workaround for a desktop but it would be unacceptable it I had a MBP.


Both solutions are crappy workarounds. Very unhappy with ML upgrade.

Jul 31, 2012 4:19 AM in response to msl422004

Similar experience here, but not as severe. Google Mail/Calendar accessed using Apple Mail and Calendar on OSX 10.8. Multiple accounts and delegations.


Occasionally, Calendaragent gets busy and consumes 90-100% of CPU (according to ActivityMonitor). I thought about killing it but didn't. In the end, I just quit Calendar, noted that Calendaregent continued to run but eventually spun down from 90% to ~0% CPU, then restarted Calendar.


I've not seen it grow beyond 130MB of real memory (140MB virtual).

Jul 31, 2012 9:00 AM in response to msl422004

Update: I've been monitoring this for the last few days. I've kept my iCal data pared down - no shared calendars or delegates, just my own GCal. Memory usage has been growing slowly from about 140 MB up to 240 MB (real). Every once in a while CPU spikes up to 100% or so, but I can't tie those spikes to anything in particular.


Also, it looks like others are complaining about this on Twitter and othe threads in these forums, so we are not alone.

Jul 31, 2012 9:03 AM in response to msl422004

Same problem here. Have two linked google accounts in Mail, Contacts & Calendars. CalendarAgent has been spiking to ~100% of new MBPr and eating ~400MB when doing so.


When CPU is spiked, lots of entries in system.log that look like:

Jul 31 11:53:20 xxxxxxxxx.local CalendarAgent[28267]: Unexpected EOF, returning last token as fallback

Aug 2, 2012 10:10 AM in response to msl422004

Same here. Battery life has severly taken a hit since upgrading to ML the day it was released -- new MB Air (13") that used to get 7-8 hours battery life is down to 2-3. Like the above poster, I am able to alleviate the issue by killing the process, but I don't know of a way to permanently keep it off.


As soon as the laptop starts getting hot, I notice a sudden decrease in battery % and see the estimated time remaining at something crazy (like 1:20 when I have 63% battery left). Reliably, CalendarAgent is always eating most of my CPU in Activity Monitor. Once I kill the process, the estimated time remaining rebounds to about 3x what it was estimating previously.

Aug 3, 2012 11:19 AM in response to dloomer

I can't believe it either that there only six people in Appleland that have this problem. It reached an all time onhigh of using 7.39 gb of virtual memory. I am not sure what delegations are but it happens no matter what I have running. I have to keep Activity Monitor running and visible at all times and have to force quit CalendarAgent whenever it gets over 100 Mb of real memory. What a pain.

I was wondering if I should just redownload and reinstall Mountain Lion. Not sure if I can even do that nor what the ramifications would be.

This is so frustrating.

Aug 8, 2012 6:14 PM in response to msl422004

Been waiting for "the answer" too. Here is what worked for my. I had three subscriptions that were located on my mac (not on icloud). I deleted those three calendars and calendar agent is behaving again. I kind of wonder if the calendar agent EOF error was waiting for a response from a calendar server that just wasn't giving responses . . . but calendar agent kept pinging it for a response. Hope this helps some.

Aug 11, 2012 10:57 AM in response to msl422004

I was able to get this to stop. Go to:


  • System Preferences
  • Notifications


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

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 ID.