Skip to content
statance
MenuClose
← All troubleshooting guides

CPU temperature is too high on Linux

Linux

Read the temperature with sensors (from lm-sensors) or cat /sys/class/thermal/thermal_zone*/temp (millidegrees). Most CPUs throttle somewhere around 90–100 °C, so sustained readings near that need attention: check fans, dust and airflow first, then whether a process is keeping the CPU at full load. Virtual machines usually expose no temperature sensors.

Symptoms

  • sensors reports temperatures near the high or crit threshold
  • Kernel log mentions thermal throttling
  • Performance drops under sustained load

How to diagnose it

  1. Read sensors

    Compare current values with the high and crit values printed beside them.

    sudo apt install lm-sensors # or dnf install lm_sensors sensors
  2. Read thermal zones directly

    Values are in thousandths of a degree Celsius.

    paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp)
  3. Check for throttling

    Throttling messages confirm overheating is affecting performance.

    sudo dmesg -T | grep -iE "thermal|throttl"
  4. Check what is loading the CPU

    Sustained high CPU raises temperature.

    ps -eo pid,%cpu,cmd --sort=-%cpu | head

Common causes and fixes

Dust, failed fan or blocked airflow

Clean heatsinks and fans, check fan speeds in sensors output, and make sure the case or rack has airflow.

Sustained full CPU load

Find the process using the CPU. An unexpected one at full load could be a miner.

Raspberry Pi without a heatsink or fan

Add a heatsink or fan case; check with vcgencmd measure_temp and vcgencmd get_throttled.

vcgencmd measure_temp vcgencmd get_throttled

Dried thermal paste on older hardware

Reapply thermal paste between CPU and heatsink.

Prevent it happening again

  • Alert when CPU_temp is above 80 °C for 10 minutes (adjust to your hardware’s limits).
  • Alert on CPU_overall so sustained load is caught before it overheats the machine.

Set it up: Raspberry Pi monitoring · Linux monitoring.

FAQ

Why does my VPS show no CPU temperature?

Hypervisors rarely expose thermal sensors to guests, so there is nothing for tools to read.

What CPU temperature is too high?

It depends on the processor; check its rated maximum. Many desktop and server CPUs throttle at 90–100 °C, and Raspberry Pi boards throttle from 80 °C.

Related guides

Get alerted before this becomes an outage.

Install the agent in one line. Statance watches CPU, memory, disk and services, and its AI assistant helps find the cause.