Pi is running hot is there a way to debug what's causing it?

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
AJRobson
Posts: 48
Joined: Fri Jan 08, 2021 2:23 pm

Pi is running hot is there a way to debug what's causing it?

Post by AJRobson »

I set up DietPi yesterday on a pi 3B with plex and using an external drive for my music. Everything is running fine but when I just sshed to it I can see the message:
Architecture | armv7l
Temperature | WARNING: 73'C : 163'F (Reducing the life of your device)
Governor | ondemand
Throttle up | 50% CPU usage

Current Freq Min Freq Max Freq
CPU0 | 1300 MHz 600 MHz 1300 MHz
CPU1 | 1300 MHz 600 MHz 1300 MHz
CPU2 | 1300 MHz 600 MHz 1300 MHz
CPU3 | 1300 MHz 600 MHz 1300 MHz
Nothing is being played or scanned on plex, I've just unmounted the HDD (The light was flashing like it was being used) but the temp is still the same, is there a command I can run to see what's running that could be causing it to get hot?

The pi is just in an official case, currently I've got the top off the case, it's also got some of those little heatsinks, the room it's in isn't hot.
User avatar
Joulinar
Posts: 5149
Joined: Sat Nov 16, 2019 12:49 am

Re: Pi is running hot is there a way to debug what's causing it?

Post by Joulinar »

you could use htop to watch running processes. As well, if you are using the official case, you might think on the official RPi fan https://www.raspberrypi.org/products/ra ... -case-fan/

At least from technical point of view, it's working. But I'm not sure if it is fitting into a RPi3B case.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
WarHawk
Posts: 743
Joined: Thu Jul 20, 2017 8:55 am

Re: Pi is running hot is there a way to debug what's causing it?

Post by WarHawk »

Code: Select all

#dietpi-config 
Performance tab, change from on demand to conservative

Changing from on demand to conservative, the CPU will slowly ramp up the CPU frequency if the processor usage drops instead of running wide open then throttle down to almost none, however if something is hammering the CPU it won't help because the CPU ramps up and runs hot when it's at high utilization.

for Plex it's gonna run the CPU hard...best to get heatsink and active cooling to keep the heat down for sure

as Joulinar said...htop is going to be your best bet to see what thread is chewing on the CPU
User avatar
Joulinar
Posts: 5149
Joined: Sat Nov 16, 2019 12:49 am

Re: Pi is running hot is there a way to debug what's causing it?

Post by Joulinar »

there are a couple good cases out. As well there are fans having active control to avoid spinning all the time. Or some of the passive cooling cases. Plenty of options ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
AJRobson
Posts: 48
Joined: Fri Jan 08, 2021 2:23 pm

Re: Pi is running hot is there a way to debug what's causing it?

Post by AJRobson »

Thanks for the replies, I had a look at htop and it was plex, I think it was plex scanning my music, because it was a new build it was scanning all my music which is over 500GB.

I have another pi set up the same and that streams video but never gets above 46 / 47. I compared the settings this morning and the only difference was on the hot running pi I hadn't set plex to run the scanner at a lower priority.

Is this still something you would recommend I do?
change from on demand to conservative
I'll make the change on both of my Pi's if it's worth it.
User avatar
Joulinar
Posts: 5149
Joined: Sat Nov 16, 2019 12:49 am

Re: Pi is running hot is there a way to debug what's causing it?

Post by Joulinar »

maybe it stop once plex finished scanning the disk. Or is it running on high load all the time

If it is still running to hot, just reduce ARM Temp Limit to 65 or 60 using dietpi-config 4
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
WarHawk
Posts: 743
Joined: Thu Jul 20, 2017 8:55 am

Re: Pi is running hot is there a way to debug what's causing it?

Post by WarHawk »

Joulinar wrote: Thu Mar 04, 2021 8:52 pm maybe it stop once plex finished scanning the disk. Or is it running on high load all the time

If it is still running to hot, just reduce ARM Temp Limit to 65 or 60 using dietpi-config 4
Yes, once it's done going thru and scanning and building the database and whatnot it should idle down to a lower CPU usage
Post Reply