You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

kernel_task is using 100% CPU when waking from sleep

Since updating my 13" mid-2013 MacBook Air to Mavericks, there's this issue that's been happening when I wake the computer up from sleep. A proccess called kernel_task uses 100% CPU (a whole core) and hangs there until the computer is restarted. This doesn't make the computer unresponsive, but it kills battery life.


So far, I've tried the following:


1. Resetting SMC, NVRAM and PRAM: no effect.

2. Safe Boot: the issue doesn't happen.

3. Deleting old apps/plugins: issue persists.

4. Closing all apps doesn't solve issue after it takes place.

5. Repairing permissions: no effect.

6. Apple Diagnostics: no issue found in hardware.

7. No kernel extensions from third-parties are installed (there are 120 kext, according to Terminal, but they all come from Apple).

8. Everything is up to date.

9. Only external plugin installed is Flash.


Given these, I reckon it's something software-related. Any tips on solving this would be welcome — things to look for in Console logs would be greatly appreciated.

MacBook Air (13-inch Mid 2013), OS X Mavericks (10.9)

Posted on Oct 28, 2013 12:03 PM

Reply
323 replies

Jan 5, 2014 8:49 AM in response to HalexPereira

I found a temporary Solution for the kernel_task Problem.


(If you dont want to plug the power cable on and off.)


I bought a mini fan for about 10 € put it next to my macbook pro and turned it to the direction where the battery is. Wait a minute and watch in your activity monitor how the kernel_task slows down from 200% to 4,3 or something like that.. The only thing whats annoying is the sound wich comes from the fan. But thats a small price to pay :-)


I think another solution would be to completely delete your hardrive and install Snow Leopard.

But im to lazy to try that out so i just stick with my fan solution.


I have this setup for a year now and never had any kernel_task overheating (or whatever you call it) problems again. (even in games with much cpu usage)

Jan 6, 2014 12:27 PM in response to blue_dabudie

It worked for me and I just had to hit play on itunes radio to get it back up and running. Nothing crashed for me, but the only application playing audio at the time was itunes so YMMV. Also it is another option for those that don't want to restart. I tried unplugging my headphones and putting to sleep, but it did not work for me.


Edit:

Also at the time I was running the below applications and nothing crashed.

Finder

Endnote

iCal

Notes

iMessage

Mail

iTunes

Safari

Mathematica

Matlab

Excel

Powerpoint

Activity Monitor

Adobe Acrobat

Jan 7, 2014 8:51 AM in response to HalexPereira

really seems to be something with sound: I had the apple earpods plugged in, when I noticed the kernel_task eating 100% for a long time... when I read the thread I pulled them out - viola! gone! plugged them back in, but the process did not come up again. so, it's maybe two or more things that have to come together...? still: an anoying bug...

(13" MBPr late 2013, 2.6Ghz i5)

Jan 7, 2014 1:18 PM in response to HalexPereira

i just came across this after coming out of sleep, like everyone else here. it wasn't the first time, but it was the first time i bothered to search for others in my bood. i have a similar powermetrics.txt snippet:

---

**** Session Interrupt distribution ****


CPU 0:

Vector 0x20(): 0.00 interrupts/sec

Vector 0x46(SMC): 0.25 interrupts/sec

Vector 0x49(MacBookAir6,2): 20.42 interrupts/sec

Vector 0x92(IGPU): 322.54 interrupts/sec

Vector 0x94(XHC1): 114.36 interrupts/sec

Vector 0x95(pci8086,9c3a): 0.03 interrupts/sec

Vector 0x96(HDEF): 29171.14 interrupts/sec

Vector 0x97(ARPT): 77.10 interrupts/sec

Vector 0x98(CMRA): 0.00 interrupts/sec

Vector 0x9d(NHI0): 0.85 interrupts/sec

Vector 0x9e(SSD0): 46.15 interrupts/sec

Vector 0xdd(TMR): 876.63 interrupts/sec

Vector 0xde(IPI): 250.64 interrupts/sec

---


before i got a chance to play around further, i switched to another user i had logged in that was running VLC and quit VLC. still saw the kernel_task suckage. switched back to my regular user and the problem went away.


if the theory that this is related to a buggy AppleHDA.kext is true (which i think likely), will somebody try this possible workaround next time they see the issue and report back? i'm too lazy to try to see if i can repro the issue easily ;P

--

$ sudo kextunload /System/Library/Extensions/AppleHDA.kext

$ sudo kextload /System/Library/Extensions/AppleHDA.kext

--


thanks!

marc

Jan 7, 2014 2:17 PM in response to Marc Bejarano

I have a similar problem and thought I would mention it here although this is related to MacBook Air and I am using a MacBook Pro.


Anyway, Kernel_task is using upto 10 GB of my 16 GM Ram when I am trying to save a file from iMovie and then I get the message that the system has run out of application memory. Never had this problem in the older versions of OS and iMovie.


I use Apple TV and Apple Express to stream music, so it may be connected to the sound issue mentioned in the thread.


Any suggestions would be greatly appreciated.


By the way Genius Bar at the local Apple store is telling me I have a hardware issue. But all this started after upgrading to the latest OS etc.


Thanks.

Jan 7, 2014 11:16 PM in response to SundanceX

Neither unloading and reloading /System/Library/Extensions/AppleHDA.kext nor the iTunes workaround do anything for me on my 2013 MacBook Air running 10.8.5. As I'm travelling I won't have the option to send my Mac in for repair for a while either... Very disappointed to search for the kernel_task issue and find a lot of workarounds like this one that don't work: http://www.rdoxenham.com/?p=259


Searching google, it seems this has been an issue on various hardware for multiple years. Makes me question buying hardware from Apple again seeing how silent they are on this issue.

kernel_task is using 100% CPU when waking from sleep

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