Skip to content
Advertisement

How do i fix ksoftirqd 100% cpu

I am doing nothing and ksofttirqd uses 100% of my cpu and my pc is very slow. I looked in my /proc/interrupts and there are a lot of “local time interrupts”, “thermal event interrupts”. How do i fix it?

(I run ubuntu 18.4)

sensors

JavaScript

Advertisement

Answer

As you can see from the sensors output, your CPU is running too hot. In response to that it is probably throttling like crazy to keep itself from melting. Strangely is only seems to be one of the cores that is too hot, which is unusual, because CPUs internally shuffle the workload between the cores to evenly distribute the load.

Here is what I’d recommend for debugging and fixing this:

  1. verify that the CPU fan is running fine,
  2. verify that the fan is properly mounted on the CPU (no gaps),
  3. verify that your thermal paste between CPU and fan is sufficient — in my experience this is actually the most likely culprit

If all of these are fine, then I’m afraid your CPU is broken and needs to be replaced.

But one thing is certain: this is not a software issue.


PS: I think you can ignore the high number of local time interrupts, because they are not unusual. The thermal interrupts on the other hand are. Here are my current values on a system that shows no issues:

JavaScript
Advertisement