Kernel CPU use brings system to its knees....

MBPmid-2015, 16 GB RAM, 512 GB SSD, macOS 11.6.8 (20G730) Big Sur, internal monitor, plus external LG 27" displaying 3008/1692@60 Hz.


At times, Kernel task pretty much brings the system down, with CPU usage many over the sum of all other processes. When this happens, Activity monitor typically shows kernel at 500 - 800+%, but has not break down of sub-processes Here is where I thought Etre-check might help. Here are results, with some caveats below.


Major problem - unusally high ** usage: Apple, Apple, Apple, Apple, and Etresoft...


Process (count) Source CPU

system_profiler (3) Apple 56.72 % About

com.apple.WebKit.WebContent (20) Apple 48.22 %

WindowServer Apple 45.78 % About

Activity Monitor Apple 39.36 %

EtreCheckPro Etresoft, Inc.26.64 %Translocated


I can live with it complaining that Time Machine backup is OFF (which TimeMachineEditor runs every early AM)


Or that High RAM use? 11.97 GB used, 9.2GB app, 3.99 cached, 67 MB swap.

Apple, Apple, Apple, Etresoft, Dropbox.


System temperature is relatively high, at 60°C, which is probably due to kernel consuming 500+%. Fans are at full blast.


"Software Installs" is reading downloads; here it shows macOS Monterey... which has not been installed. And several others in that list.


So, please look at this Etrecheck report. See anything suspicious?


Steve Jobs - "Just one more thing..." I do not need gauntlets to run unless there is a cogent justification or explanation of need. 😉


Thanks for looking!!

MacBook Pro 15″, macOS 11.6

Posted on Aug 3, 2022 11:42 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 3, 2022 5:03 PM

Overheating.


When the kernel_task consumes 100's percent CPU, it is because it is putting the intel CPU chip into a low power idle mode to keep it from melting inside (literally melting).

If kernel_task is using a large percentage of your Mac CPU – Apple Support (UK)


One potential problem in older Macs is an accumulation of dust/pollen in the fans and cooling paths. Suggest contacting an Apple Store or Apple Support center and see if they can easily open the Mac and clean out the dust. Hopefully for a low fee or maybe free (one can only hope).


Similar questions

14 replies
Question marked as Top-ranking reply

Aug 3, 2022 5:03 PM in response to FibreMan_85_125

Overheating.


When the kernel_task consumes 100's percent CPU, it is because it is putting the intel CPU chip into a low power idle mode to keep it from melting inside (literally melting).

If kernel_task is using a large percentage of your Mac CPU – Apple Support (UK)


One potential problem in older Macs is an accumulation of dust/pollen in the fans and cooling paths. Suggest contacting an Apple Store or Apple Support center and see if they can easily open the Mac and clean out the dust. Hopefully for a low fee or maybe free (one can only hope).


Aug 3, 2022 5:23 PM in response to FibreMan_85_125

Paul Reitz wrote:

"Software Installs" is reading downloads; here it shows macOS Monterey... which has not been installed. And several others in that list.

EtreCheck does look at your system installation log. It's just that OS installs are special. The "install" is a download of the installer app.


Your EtreCheck report isn't listing kernel_task. I will have to double-check that to see if it is still being detecting. I have to use some tricks to show kernel_task usage. But I still have some other tricks if that isn't showing up anymore. If you say the kernel_task is taking 800 % of the CPU, I'm not disputing that. That is typical behaviour of a system throttle.


I recommend a couple of things:

1) Never, ever run a "fan control" software. That kind of software will physically destroy your computer.

2) Disconnect your external display. The only time I've ever personally encountered this problem was when I had a bad dongle I had purchased on Amazon.

3) Disconnect all other external hardware too, like disk drives.

4) Try a different charger


If the system is being throttled, then that could easily explain all the symptoms you are seeing. Your report took 56 minutes to run instead of 3 minutes. Your hard drive file system test failed. That normally takes 30 seconds but gets cancelled after 2 minutes.


The ultimate cause of this problem is almost always a hardware failure. If you're lucky, it is some external hardware that you can just unplug for an instant fix. If you're not lucky, it is internal hardware like the logic board. Or maybe the battery? 9 cycles on a 2015? That compute is just barely not on Apple's recently updated list of vintage and obsolete computers, so Apple should still repair it if you are willing to invest the money.


Aug 3, 2022 6:32 PM in response to FibreMan_85_125

You already received exceptionally good advice from others. In addition to it, please determine if the same problems occur in "Safe Mode": How to use safe mode on your Mac - Apple Support.


Use your Mac for a few minutes in that mode. Your observations will help isolate the potential causes. For example, see if kernel_task is still throttling the CPU.


  • Note: a lot of things don't work in Safe Mode, but a Mac should not perform unacceptably slowly or be completely unbearable to use while in that mode.


Then, reboot normally (not "Safe Mode"). Reply with your observations.

Aug 4, 2022 1:17 PM in response to etresoft

Etresoft... thanks for your reading and advice; I'll address your comments.

EtreCheck does look at your system installation log. It's just that OS installs are special. The "install" is a download of the installer app.
Your EtreCheck report isn't listing kernel_task.

Those tasks are not listed as processes in Activity Monitor, so I figured it was EtreCheck splitting them out.

I will have to double-check that to see if it is still being detecting. I have to use some tricks to show kernel_task usage. But I still have some other tricks if that isn't showing up anymore. If you say the kernel_task is taking 800 % of the CPU, I'm not disputing that. That is typical behaviour of a system throttle.

Well, 800% is an extreme; it's usually only 500%. Do you see any other process using significant CPU or memory? I suspect an errant process in the Kernel; perhaps one of the system processes listed in the report. Even the trackpad and keyboard strain to get cycles; type a word, wait 3 seconds, then bang. Trivial tasks— selecting an app from the dock, forget it!

recommend a couple of things:
1) Never, ever run a "fan control" software. That kind of software will physically destroy your computer.

I understand you don't like it, but can you explain your assertions? What its doing to 'destroy' the computer? [ Etrecheck already decided it's trash. 😉]

I replied to Bob that it does not always (or, perhaps even 'usually') do this. It's intermittent, <not> ideal for diagnostics.

2) Disconnect your external display. The only time I've ever personally encountered this problem was when I had a bad dongle I had purchased on Amazon.

The monitor is connected with LG's supplied mini-Displayport to Display Port cable in a TB2 port on the Mac, and not series with anything. About 5-6 ft cable, no dongle. (I tried a cheapy cable just after getting the monitor (2 yrs ago), but it could not deliver a clean signal at any of the higher resolutions, at 60 Hz. I don't operate the monitor near its max capability; my eyes aren't that good!! 😆 (Shouldn't laugh.. recent retina surgery!)

3) Disconnect all other external hardware too, like disk drives.
4) Try a different charger

Yes, I could possibly do those things. How long does it take to determine that something intermittent like this is gone? I'd rather not buy another power supply (this one's still the OEM).

If the system is being throttled, then that could easily explain all the symptoms you are seeing. Your report took 56 minutes to run instead of 3 minutes. Your hard drive file system test failed. That normally takes 30 seconds but gets cancelled after 2 minutes.

I agree, the system is being throttled, by the kernel, not any user apps. When the kernel is behaving, the report takes - maybe 3 minutes. Etrecheck is running on the internal 512 GB APFS SSD, which tests fine- >1000MB/s R&W. Externals are 7200 rpm 4 TB Toshibas, APFS via TB2 (10Gb/s). Diagnostic sw shows none have any HW errors, re-allocated blocks, Read or Write errors, etc.

The ultimate cause of this problem is almost always a hardware failure. If you're lucky, it is some external hardware that you can just unplug for an instant fix.

Can a 'failure' fix itself? For security, the external drives are attached only when running TM or CCC, or saving an archive. Can't say one way or the other whether it's happened then, but pretty sure it has.

If you're not lucky, it is internal hardware like the logic board.

See above.

Or maybe the battery? 9 cycles on a 2015? That compute is just barely not on Apple's recently updated list of vintage and obsolete computers, so Apple should still repair it if you are willing to invest the money.

I changed the batteries as a matter of safety. System Information showed full capacity, and no complaints, but the computer was rocking on the case bottom. All 4 batteries in the set were badly swollen. Thus, the 9 cycles. The replacements are (OWC) aftermarket because a search did not located any OEs. I avoid e-Bay...


Many thnaks for your thoughts. I'd especially like to understand what's throttling the computer.

Aug 4, 2022 5:06 PM in response to FibreMan_85_125

Paul Reitz wrote:

Those tasks are not listed as processes in Activity Monitor, so I figured it was EtreCheck splitting them out.

You might need to change Activity Monitor's setting to show "All processes". By default, it only shows user processes.

Well, 800% is an extreme; it's usually only 500%. Do you see any other process using significant CPU or memory?

EtreCheck only lists the top processes at the time that it checks. If conditions are rapidly changing, then it won't show that.


Your report definitely shows system throttling, but EtreCheck isn't showing kernel_task. That might be a bug in EtreCheck.

I understand you don't like it, but can you explain your assertions? What its doing to 'destroy' the computer? [ Etrecheck already decided it's trash. 😉]

It changes the behaviour of the system fans. That can allow the system to get too hot and damage the hardware. Sometimes people make hardware changes like replacing the hard drive and the system doesn't like it. It spins the fans up a maximum and they are really loud. So then people run the fan control software to quiet down the fans. But at that point, the user should probably be shopping for a new computer.


EtreCheck isn't going to call anything "trash". It is only going to complain if the software isn't signed. It's a long story.

The monitor is connected with LG's supplied mini-Displayport to Display Port cable in a TB2 port on the Mac, and not series with anything. About 5-6 ft cable, no dongle. (I tried a cheapy cable just after getting the monitor (2 yrs ago), but it could not deliver a clean signal at any of the higher resolutions, at 60 Hz. I don't operate the monitor near its max capability; my eyes aren't that good!!

None of that matters. If you are potentially having a hardware failure, you have to identify what causes it. That means removing anything that potentially could be the cause. Otherwise, you'll never figure it out.

Yes, I could possibly do those things. How long does it take to determine that something intermittent like this is gone?

Unfortunately, you can't ever determine for certain that it is gone. In most cases, you remove all the potential 3rd party hardware or software causes, then it happens again, then you take the computer to Apple for a new logic board. In rare cases, you might be able to disconnect an external hard drive or dongle and that fixes it.

Can a 'failure' fix itself? For security, the external drives are attached only when running TM or CCC, or saving an archive. Can't say one way or the other whether it's happened then, but pretty sure it has.

If the failure is tied directly to an external device, then it should occur only when that device is physically connected. That is how it behaved when I had that bad dongle.

I changed the batteries as a matter of safety. System Information showed full capacity, and no complaints, but the computer was rocking on the case bottom. All 4 batteries in the set were badly swollen. Thus, the 9 cycles. The replacements are (OWC) aftermarket because a search did not located any OEs. I avoid e-Bay...

Apple offers flat-fee battery service. Unfortunately, replacing that battery could easily be what caused this problem. It could be triggered by voltages or temperature and that would make it intermittent.

Aug 9, 2022 12:05 AM in response to FibreMan_85_125

The kernel_task CPU usage may become unreasonably high if the CPU temperature rises due to the following factors:

 

1. Active mode programs and operations running in the background and using the CPU too intensively.

2. Your Mac is heating up while charging.

3. Cooling fan issues.

4. Hardware-related cases.

 

To minimize CPU usage on Mac, you can begin with force quitting programs that are not in use. Further, you can also try the below troubleshooting methods to fix the Mac high cpu usage issue:

 

1. Switch the USB Charging Port

2. Move your Mac to a Cooler Room

3. Restart your Mac

4. Boot into Safe Mode

5. Reset SMC (System Management Controller)

6. Reset NVRAM

 

Hope it helps!

Aug 4, 2022 6:10 PM in response to FibreMan_85_125

Intermittent problems can be frustrating to diagnose. I would use Safe Mode long enough to conclude the kernel_task problem will never occur, or it may occur after a short time. Either outcome will be instructive. It's merely a diagnostic tool.


As for "Macs Fan Control" and things like it: all they can possibly accomplish is to mask a problem that needs to be fixed. Using it to arbitrarily increase fan speeds will needlessly draw in additional airborne contaminants that will absolutely accelerate hardware failure. If you don't use it for that, you might use it to report fan speeds in RPM, but do you really need something to tell you the fans are roaring?


Anyway I do not mean to imply you are using it irresponsibly or that it has anything to do with the problem at hand; it's just something to keep in mind.

Aug 9, 2022 7:06 AM in response to allen_31

Allen_31, thanks for your suggestions; I also hoped they might help., but I believe I've run those gauntlets. Closely compare the two attached EtreCheck runs, both with the same monitors, resolutions, external drives, start-up items, and normal apps. [Safari and Reunion, a Mac-only app.] Safari has many suspended tabs as usual. The first report was run when kernel cpu use was 100's+ %; the second when normal - a few % to occasionally to a few tens of %.


The idea of hardware failure was based on the first run, when EtreCheck couldn't get enough cpu cycles.. The second report, when kernel use in normal, shows User CPU load to be low compared to top system items during kernel runaway.


I read that CPU temperatures in the low-mid 60s C is normal, and I do use Macs Fan Control to keep the system cooler than normal. Fans start at lower temperature, and has lower maximums. A cooler system can only improve reliability, other than possibly wearing out the fans — which are trivial to replace on this machine. Thermocouple temperature readings at the fan exhausts should show fan failure; under normal conditions yesterday, exhaust temperature was is in the 100 - 110 °F range, both left and right. Fans and radiator were carefully cleaned ~ 10 months ago, which isn't a problem since our cats have died.


However, I am exploring an interesting claim that the system interprets maximum fan rpm to mean more cooling is required, and that it then runs "heatless" kernel cpu cycles to reduce cpu availability to User, to reduce temperature. If true, then aggressive cooling setpoints could conceivably contribute. Curious logic - reduce fan speeds to lower temperature.


Other confirmable items you suggested have been done - SMC and NVRAM reset; RT ~ 78°F., low battery charge (runs on AC); two Apple Hardware tests, — no problem. Restarting has only temporarily tamed the kernel when it was high... but how does one really know? The machine's been running normally for several days, but I doubt it's 'fixed'. 😉


Cheers! Keep 'em coming.

Aug 4, 2022 11:35 AM in response to BobHarris

Thanks, Bob, for your kind reply.

The logic board had been professionally replaced about 4 years ago, but the battery was not new. I recently had to replace it, and carefully cleaned fans and heat exchangers with paint brush and filtered air.


I haven't touched any IC thermal coupling, or paste, even though my background tempted me. I was not aware the system could throttle so badly, which poor chip coupling could do. But that would not be intermittent.


It certainly does not do this all the time. Been running the same computer, monitors, ext'l TM drive, and same apps —and same fan control— as yesterday, since 7 a.m. today and never saw the kernel above ~10% — and that just temporarily.


It's been running about 3-4% today. But once in a while, it gets into a funk.

Aug 4, 2022 2:45 PM in response to BobHarris

Thanks for your thoughts, Bob.


I cleaned fans and the radiator with a small paint brush and air duster when I replaced the swollen batteries.


EtreCheck clearly shows the most intense processes are Apple's, save for Safari. A valid hypothesis has to deal what factors might cause it to be intermittent. I haven't seen one yet.


A technical group I worked with always cited 'sunspots'. 😀

Aug 5, 2022 7:25 PM in response to etresoft

Yesterday and toda, about 20 hours in total, the computer ran all normal applications, external disks, and typical memory loads without a hitch. The attached report shows how the computer usually behaves except for the 7-day look-back impairment with periods of the kernel issue. Feel free to contrast it with the report first posted.


So here I pause, I doubt very much that it's hardware. I suspect there's some aspect of software - who knows what? — this computer serves cache and Handoff with 2 other computers and 2 iPhones, sharing 200 GB iCloud among them.


No more gaunlet! 👍😄


Aug 6, 2022 3:00 PM in response to John Galt

John Galt wrote:

Mr etresoft, pardon the brief interruption but this gentleman could use your help on a similar subject, but an unrelated cause:

Extremely High kernel_task (usually range 400-1400%) - Apple Community

OK. I added a reply. That extension is unrelated to that particular problem. I usually lose interest on those kinds of threads once I see "thermal paste". 😄

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Kernel CPU use brings system to its knees....

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