elliott38

Q: Kernel_task High CPU Usage

I have a Mid 2015 MacBook Pro running Yosemite (10.10.5). Starting today the computer froze and took several restarts to turn back on. It now seems to be not freezing but kernel_task is using ~500% of the cpu and slowing the laptop to a crawl. Rebooting in Safe Mode made no difference. http://www.rdoxenham.com/?p=259 Tried this fix but did not help.

MacBook Pro with Retina display, OS X Yosemite (10.10.5), null

Posted on Aug 9, 2016 12:52 PM

Close

Q: Kernel_task High CPU Usage

  • All replies
  • Helpful answers

  • by BobHarris,

    BobHarris BobHarris Aug 9, 2016 6:47 PM in response to elliott38
    Level 6 (19,272 points)
    Mac OS X
    Aug 9, 2016 6:47 PM in response to elliott38

    Please post the output from EtreCheck

    <https://discussions.apple.com/docs/DOC-6174> or <http://etrecheck.com>

  • by elliott38,

    elliott38 elliott38 Aug 10, 2016 9:13 AM in response to BobHarris
    Level 1 (8 points)
    Mac OS X
    Aug 10, 2016 9:13 AM in response to BobHarris

    EtreCheck version: 2.9.13 (267)

    Report generated 2016-08-10 17:12:31

    Download EtreCheck from https://etrecheck.com

    Runtime 4:04

    Performance: Good

     

    Click the [Support] links for help with non-Apple products.

    Click the [Details] links for more information about that line.

     

    Problem: Computer is too slow

     

    Hardware Information:

        MacBook Pro (Retina, 15-inch, Mid 2015)

        [Technical Specifications] - [User Guide] - [Warranty & Service]

        MacBook Pro - model: MacBookPro11,5

        1 2.8 GHz Intel Core i7 CPU: 4-core

        16 GB RAM Not upgradeable

            BANK 0/DIMM0

                8 GB DDR3 1600 MHz ok

            BANK 1/DIMM0

                8 GB DDR3 1600 MHz ok

        Bluetooth: Good - Handoff/Airdrop2 supported

        Wireless:  en0: 802.11 a/b/g/n/ac

        Battery: Health = Normal - Cycle count = 329

     

    Video Information:

        AMD Radeon R9 M370X - VRAM: 2048 MB

        Intel Iris Pro

            Color LCD 2880 x 1800

     

    System Software:

        OS X Yosemite 10.10.5 (14F27) - Time since boot: less than an hour

     

    Disk Information:

        APPLE SSD SM0512G disk0 : (500.28 GB) (Solid State - TRIM: Yes)

            EFI (disk0s1) <not mounted> : 210 MB

            Macintosh HD (disk0s2) / : 349.36 GB (338.51 GB free)

            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB

            BOOTCAMP (disk0s4) /Volumes/BOOTCAMP : 150.05 GB (32.31 GB free)

     

    USB Information:

        Apple Internal Memory Card Reader

        Apple Inc. Apple Internal Keyboard / Trackpad

        Broadcom Corp. Bluetooth USB Host Controller

     

    Thunderbolt Information:

        Apple Inc. thunderbolt_bus

     

    Gatekeeper:

        Mac App Store and identified developers

     

    System Launch Agents:

        [not loaded]    4 Apple tasks

        [loaded]    155 Apple tasks

        [running]    53 Apple tasks

     

    System Launch Daemons:

        [not loaded]    46 Apple tasks

        [loaded]    139 Apple tasks

        [running]    76 Apple tasks

     

     

    Other Apps:

        [loaded]    367 Apple tasks

        [running]    148 Apple tasks

     

    Internet Plug-ins:

        Default Browser: 600 - SDK 10.10 (2015-07-17)

        QuickTime Plugin: 7.7.3 (2016-08-10)

     

    3rd Party Preference Panes:

        None

     

    Time Machine:

        Time Machine not configured!

     

    Top Processes by CPU:

           479%    kernel_task

            25%    mds

            23%    mds_stores

             8%    WindowServer

             0%    opendirectoryd

     

    Top Processes by Memory:

        955 MB    kernel_task

        393 MB    com.apple.WebKit.WebContent(3)

        213 MB    mdworker(12)

        115 MB    Dock

        98 MB    Finder

     

    Virtual Memory Information:

        10.00 GB    Free RAM

        5.52 GB    Used RAM (2.69 GB Cached)

        0 B    Swap Used

     

    Diagnostics Information:

        Aug 10, 2016, 05:02:07 PM    Self test - passed

        Aug 10, 2016, 09:01:22 AM    /Library/Logs/DiagnosticReports/com.apple.AddressBook.InternetAccountsBridge_20 16-08-10-090122_[redacted].crash

            /System/Library/Frameworks/AddressBook.framework/Versions/A/XPCServices/com.app le.AddressBook.InternetAccountsBridge.xpc/Contents/MacOS/com.apple.AddressBook.I nternetAccountsBridge

  • by BobHarris,

    BobHarris BobHarris Aug 10, 2016 10:36 AM in response to elliott38
    Level 6 (19,272 points)
    Mac OS X
    Aug 10, 2016 10:36 AM in response to elliott38

    You have a very clean system.  That is good, but it also makes it harder to figure out exactly what is happening.

     

    Experiment #1.  Quit Safari and see if the CPU usage goes back to normal.  It is possible there is some JavaScript running on one of the web pages you have open that is asking the system to do things on its behalf.  This is an easy experiment.

     

    Experiment #2.  Rebuild your Spotlight index.

    <Rebuild the Spotlight index on your Mac - Apple Support>

    NOTE: Until the Spotlight index is completely rebuilt, it is going to chew up some CPU and I/O bandwidth.  So do not go looking right away after starting the rebuild.

  • by rccharles,

    rccharles rccharles Aug 10, 2016 11:58 AM in response to elliott38
    Level 6 (8,464 points)
    Classic Mac OS
    Aug 10, 2016 11:58 AM in response to elliott38

    There are several reports of this problem with Yosemite.

     

    There are various "fixes" around the internet.

     

    This provides a good summary of the problem and things to try:

    http://www.cnet.com/news/kerneltask-process-taking-up-an-inordinate-amount-of-cp u/

     

    If that doesn't help, there is everyone's favorite fix.

    This proposed fix is kind of scary.

    http://blog.viktorpetersson.com/post/100148585299/how-to-fix-kerneltask-cpu-usag e-on-yosemite

  • by elliott38,

    elliott38 elliott38 Aug 11, 2016 4:33 AM in response to BobHarris
    Level 1 (8 points)
    Mac OS X
    Aug 11, 2016 4:33 AM in response to BobHarris

    I wiped the hard drive and reinstalled a fresh install of the OS, hence the cleanliness, but the problem persists. Tried both your suggestions with no change. Could it possibly be a hardware problem?

  • by BobHarris,

    BobHarris BobHarris Aug 11, 2016 5:56 AM in response to elliott38
    Level 6 (19,272 points)
    Mac OS X
    Aug 11, 2016 5:56 AM in response to elliott38

    I'm guessing that maybe you are still within your 1 year warranty, so at the minimum you might want to make a Genius Bar appointment at your local Apple Store.  With your system in a totally clean state it would be ideal to avoid any finger pointing at 3rd party products.

     

    Note:  I do not know why a high kernel task CPU usage would be caused by a hardware problem, but surprising things happen all the time.

     

    Another experiment.  Boot into Safe mode

    <http://support.apple.com/kb/ht1564>

    This would load only Apple drivers, and some of them less optimized, to see if that changes anything.  I'm not expecting much, but again, it is an easy experiment.  You would not want to run full time in Safe mode, but as an experiment it is useful.

     

    I think one of the rccharles links had resetting the SMC and PRAM.  If you did not do that yet, then also try those.

     

    By any chance are you in the middle of FileVault encryption (or decryption) and that is what is occupying the kernel task?  Then again, a clean install should not have a lot on the system, so it should complete in a reasonable amount of time.  Also I would only expect FileVault encryption to occupy just 1 CPU or 100% not 500%.   You can check FileVault encryption status with the following Applications -> Utilities -> Terminal command

    diskutil cs list | grep Conversion

     

    Those all my ideas for this morning.

  • by rccharles,

    rccharles rccharles Aug 11, 2016 8:42 AM in response to BobHarris
    Level 6 (8,464 points)
    Classic Mac OS
    Aug 11, 2016 8:42 AM in response to BobHarris

    Note:  I do not know why a high kernel task CPU usage would be caused by a hardware problem, but surprising things happen all the time.

     

    The author of internet article I found thought that  a hardware problem could invoke the high cpu.  Although, it was dealing with some external device.

     

    R

  • by elliott38,

    elliott38 elliott38 Aug 12, 2016 2:51 AM in response to BobHarris
    Level 1 (8 points)
    Mac OS X
    Aug 12, 2016 2:51 AM in response to BobHarris

    Thanks for the help, I have tried all your suggestions with no luck. I was trying to avoid getting it sent off but I think I have no other choice now.

  • by The Jeremy James,

    The Jeremy James The Jeremy James Aug 21, 2016 3:39 PM in response to elliott38
    Level 1 (4 points)
    Aug 21, 2016 3:39 PM in response to elliott38

    Hi Elliott,

     

    Did you send it off/fix it?

     

    I had this issue on another model (2011) macbook running 10.11.06. Turned out to be dusty fans. CPU throttling due to overheating. I thought it was buggy OS after a recent upgrade and i saw all the threads on resets and moving files around but saw one guy saying it was a symptom of the system trying to slow heat production.

    I checked the fans first before anything else and they were mildly caked, seems like in the three weeks since i last had it open after a logic board replacement,  it's picked up a year or two's worth of muck. removed them, paint brush, bit of blow dryer and reassembly and all is good again and much quieter. gone from 670%CPU back down to 5-3%

     

    hope maybe this helps