Occasionally my machine will have a
kernel_task instance max out the CPU:
This can last from minutes to sometimes hours. The machine is effectively unusable in this state. Restarting doesn't help; a new
kernel_task pops up again until it finishes whatever it's doing.
How can I find out what this process is doing?