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

Macbook Pro Kernel_task using loads of CPU

My MBP has randomly started acting weird.


Symptoms are:


Running VERY slow.

Cooling fan constantly (although not running hot as far as I am aware) - fan kicks in during boot seq

Activity Monitor showing kernel_task eating circa 200% of CPU constantly.


There are no external peripherals connected to the Pro

I've not installed any 3rd party software recently (or at least within a week prior to the issues starting).


I've included a screenshot of the activity monitor User uploaded file

As you can see, the kernel_task process is using a lot of cpu.


I've tried a SMC reset which didn't help at all.


Has anybody got any other suggestions?

Thanks in advance.

MacBook Pro (15-inch Mid 2010), OS X Mountain Lion (10.8.2)

Posted on Oct 7, 2012 4:04 AM

Reply
43 replies

Oct 7, 2012 4:29 AM in response to SteWilliams

there are background defragmentation hidden inside kernel. Also there are a lot of other disk activity inside kernel - paging, other similar tasks. Also MacOs encryption/decryption is also a part of kernel. So chances are that if you have damaged filesystem, FileVault encryption and encrypted paging file in some combination - you can get to this digits of load on kernel task.

Oct 7, 2012 8:24 AM in response to SteWilliams

These instructions must be carried out as an administrator, if you have more than one account.

Launch the Console application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad. Click Utilities, then Console in the icon grid.

Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.

Copy the text on the line below:

smcHandleInterruptEvent

and paste it in the Filter text field. Do you see messages like this:

SMC::smcHandleInterruptEvent WARNING status=0x0 (0x40 not set) notif=0x0

The timestamps of those messages (if any) indicate the times, since the log was last cleared, when the processor was being throttled because of high temperature.

Oct 7, 2012 8:37 AM in response to Linc Davis

Linc Davis: Again, thanks for taking the time to read my post and reply. I did as you said and there were no results when filtered on smcHandleInterruptEvent. I've done a screenshot just so you can see that I was doing it all correctly:


User uploaded file


Any other suggestions guys?


Just so you are all aware - rebooted into the Recovery Partition (where the fan was still constantly running at highspeed, but was unable to check figures on teh activity monitor as it's disabled as far as I'm aware?).


I repaired the normal boot partition, and all other partitions as well. Still no change at all.


Thanks

Steve

Oct 7, 2012 10:13 AM in response to Linc Davis

Please read this whole message before doing anything.


This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.


Step 1


The purpose of this step is to determine whether the problem is localized to your user account.


Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”


While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.


Test while logged in as Guest. Same problem?


After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.


*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.


Step 2


The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.


Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:


  1. Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
  2. When you see the gray Apple logo, release the shift key.
  3. If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.


Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.


The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.


*Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.


Test while in safe mode. Same problem?


After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

Oct 7, 2012 4:20 PM in response to Linc Davis

Linc Davis: I did as you have described above word-for-word.


Step 1


I created a new guest account for this purpose. Logged into it, still the same fan speed, and still the same CPU useage. I've attached a screenshot (ignore the ridiculous username I used for this test account):


User uploaded file

Kernel_Task (listed at the bottom this time) - still using loads of CPU and RAM.


So, logged back into my normal account and deleted the test account.



Step 2


I then booted in safe mode. Took ages (as advised). This whole time - during the test account use, and the safe mode boot - the cooling fan has been in full effect the whole time and not turned off, even when restarting (it stops when shut down obviously, but also when the computer is asleep).


I opened the activity monitor whilst in safe mode an the CPU useage is DRAMATICALLY reduced (on 7%) but the Ream Mem useage is at 600MB. However - the MBP is still running ridiculously slow and the fans are still running at full speed. Even just displaying the dock (I have it on autohide), the animation of it popping up from the bottom edge of the screen is REALLY lagged and juddery - if thats a word(!).


Now that I have rebooted normally, problem remains, CPU useage of kernel_task back to around 200%, Real Mem being used by the process is 444MB, and the computer is running ridiculously slow.


Any help appreciated..


Steve

Macbook Pro Kernel_task using loads of CPU

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