Currently Being ModeratedSep 29, 2011 5:18 AM (in response to Roger OSX)
I'm experiencing the same overheating/loud fan issues following the upgrade to Lion. I tried resetting the SMC (shut down, take out the battery, hold down the power button for a few seconds, replace the battery and power on), but the problem returned the next morning. It also appears that I don't have a com.citrix.agadminservice.plist file in /Library/LaunchDaemons, so I'm out of luck there. I wonder if we're all looking at the correct issue for a long-term fix for this issue? If it's one process running out of control, that's easy. But for those of us still experiencing the problem even without Citrix installed, is it a larger problem with Lion not managing runaway processes well enough?
Does anyone have a working fix for those of us without the Citrix .plist file?
Currently Being ModeratedOct 6, 2011 8:31 PM (in response to Roger OSX)
THANK YOU! At first I thought it was Time Machine (doing a large backup now after the upgrade), but you nailed it. sudo launchctl unload -w /Library/LaunchDaemons/com.citrix.agadminservice.plist took care of it immediately. I DID have the Citrix beta installed on my machine, but no longer needed it.
I'm an Apple Consultant, and this will come in very handy, I'm sure. Thanks again.
Currently Being ModeratedNov 8, 2011 7:10 PM (in response to Roger OSX)
"sudo launchctl unload -w /Library/LaunchDaemons/com.citrix.agadminservice.plist" really did the trick!!!
I was really in fear of my MBP melting down
Currently Being ModeratedNov 16, 2011 10:27 PM (in response to Roger OSX)
That solved it!
I just purchased a MBA 13 i7 and the fan was always running (I installed the citrix plugin immediately so I didn't really know how the MBA with just Lion). But I thought it was odd the fan was always running, and that I only had 2 hr of battery life.
Activity monitor showed the AGAdmin process running at 100%. Within 10 sec of running your solution in terminal the fan slowed to a halt. Wow!
Thank you. But what has Citrix done! I hope they fix it.
Currently Being ModeratedNov 17, 2011 4:35 AM (in response to Axelfoo)
We're you still able to use Citrix? Can you tell me exactly what you did?
Currently Being ModeratedNov 21, 2011 8:29 AM (in response to ronald272)
So I did the sudo launchctl unload -w /Library/LaunchDaemons/com.citrix.agadminservice.plist into terminal but it said
Couldn't stat("/Library/LaunchDaemons/com.citrix.agadminservice.plist"): No such file or directory
nothing found to unload, help please! Thank you!
Currently Being ModeratedNov 21, 2011 9:15 AM (in response to Roger OSX)
Not sure if these questions were to me ....
@ronald272 - Nope, not using citrix right now. This is real impediment to using the MacBook Air if you need Citrix VPN access. This problem seems particular to the MBA, as others with MBP (2010) don't seem to have this problem.
@colombina_24 - sorry, don't know enough unix to help but it sounds like you don't have this file. Verify it's there through the finder. Other issues due to this process which should correlate with having that file in a MBA:
1. Fan running all the time
2. In activitity monitor ("show all processes" NOT "my processes") do you have a process called AGAdmin process running at 100%?
Currently Being ModeratedNov 21, 2011 9:17 AM (in response to colombian_24)
I had the same issue, which stems from the fact that I do not have Citrix installed. However, I do have virus scanning software installed, which suffers from the same "runaway process" problem that Citrix does. If I open Activity Monitor and sort by the "% CPU" column, I see the offending process and simply click and quit it. It's not elegant, but it works. The fan immediately spins down, and the laptop temp returns to normal. I generally have to do this once a week or so, and am hoping a future virus scan software update fixes this issue.
Have a look at Activity Monitor and see which process is using up all of your CPU resources. Then see if quitting it fixes the fan issue.
Currently Being ModeratedDec 29, 2011 8:06 AM (in response to Roger OSX)
Hi Roger OSX,
Thank you very much for the tip. It solved the heat and battery problem of my brand new MBP 15".
I really appreciated it.
Currently Being ModeratedDec 30, 2011 6:47 AM (in response to Roger OSX)
Tried this fix due to a degrated battery life issue that everyone seems to be experiancing on these forums - terminal: 'nothing found to unload'
It apprears this isn't a global lion issue.
Currently Being ModeratedJan 11, 2012 11:27 AM (in response to Roger OSX)
As soon as I ran this command the CPU fan slowed right down the battery went from 45 mins to 90 minutes remaining.
Spot on thanks!
New lion version of CAG is available which is fine too.
Currently Being ModeratedJan 11, 2012 3:55 PM (in response to Roger OSX)
hello ı have same issue on my macbook pro after ı upgrade it to lion.
I want to fix the draining battery problem with this solution but ı dont understand how to do sudo '''launchctl unload -w /Library/LaunchDaemons/com.citrix.agadminservice.plist'''' situation where will ı write it how will ı write it ??
Should ı firstly install citrix( if so on what is citrix) or if ı dont need that , directly what should ı do??
can you help me please ??
Currently Being ModeratedJan 11, 2012 4:57 PM (in response to Can.B)
open Terminal (you can open spotlight, which by default on a mac should be command-space) and type terminal.
once in terminal, you just paste that line into the terminal.
You don't have to install Citrix etc etc.. I never installed Citrix on my mac, yet, magically.. there it was *shrug*
The ONLY way this solution can hurt someone, is if they happily and legitmately are using Citrix (and the command basically disables it/unloads it).
But it doesn't DELETE any files/hurt the machine etc.
Currently Being ModeratedJan 30, 2012 5:02 AM (in response to Roger OSX)
At the risk of appearing to be an utter numpty, what is the exact line of code to type into Terminal? Is it just
launchctl unload -w /Library/LaunchDaemons/com.citrix.agadminservice.plist
or do I need to add the 'sudo' as well? (if not, what does sudo mean??!?
Sorry, but I'm simply an end user (albeit a fuming one given I paid over the odds for a mac with allegedly massive battery life) with almost no experience of even opening terminal let alone typing stuff in it!
Forum help/advice ALWAYS appreciated...
Currently Being ModeratedFeb 13, 2012 12:51 PM (in response to Roger OSX)
Great!! it fixed my problem