gpg-agent + launchd maxing out cpu overnight.. plus other stability oddness lately.. any ideas why?

apple.stackexchange https://apple.stackexchange.com/questions/25766

Question

I woke up this morning to my MBP whizzing along (i.e. the fan that is). Looking at Activity Monitor, I saw gpg-agent taking up 97% of cpu, and launchd taking 60%, plus maybe one or two that were also high (one of them was font related -- fontd? I forget).

I am using Mozy, and it was doing a backup over night, but it has been for the last few weeks.

After killing all my apps, these runaway processes remained, so I restarted, and the issue resolved itself.

After restarting, and googling a bit, I checked console, and see hundreds of messages for just gpg-agent, and this is just over the course of a few seconds. I'm guessing this may have been going on for longer since these were the first entries in the log and started at 6am.

9/23/11 6:07:24.504 AM org.gpgtools.macgpg2.gpg-agent: gpg-agent[110]: accept failed: Too many open files

Mozy was my top suspect, but I don't even know if Mozy uses any of those cpu-spending apps I mentioned. Other apps that were running: TimeMachine, Dropbox, Skype, Adium, Chrome, Eclipse, Evernote. Perhaps something with Lion? or KeyVault2 (my disk does have encryption on)?

Other computer weirdness that may or may not be related:

I've had my computer restart on me twice this month overnight (i.e. I go to use the computer in the morning, and it's at the login screen). Sleep should be activating (it is at default MBP settings w/ computer sleep at 12 minutes or so). This may be coinciding with Mozy install, but can't say for sure (Mozy was installed last week, and my first overnight crash might have been before, but I don't recall for sure).

Another issue I've had a few times since installing Lion is I'll go to use the computer after it being in my bag for a few hours, and all the applications are there, but won't respond to my keyboard nor closing. I can interact with the windows (i.e. Cmd-Tab, dragging), but not much else. Sometimes/always the Restart option in the Apple menu doesn't respond, but pushing the power button once does bring up the menu to sleep/restart/shutdown, and I can restart from here. (This issue I reported to Apple as potential Lion bug)

I just remembered, I installed the recommended updates yesterday afternoon (bios update for Lion and Thunderbolt, some security update, and other update for Thunderbolt). It had me restart, then after it seemed to install, brought me to a screen which said, "Hold down the power button until your computer turns off, then turn back on". I assume this was part of the bios update. I think when the computer came back on, it did some installing. Then when OS boots up, OS tells me "it had to restart for unknown reason" and had me send a report to Apple. I sent that along, and continued working on the computer since then (no other restarts). This doesn't seem like it would be related, but figured mention it just in case.

About my system

MBP early 2011 15" base model, Lion built from scratch, KeyVault2 hard drive encryption turned on; SSD and Crucial memory were upgraded after purchase; TRIM turned on via some 3rd party instructions a month or two ago (I can find the how-to article if it seems relevant).

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top