Jump to content

CPU very hot when Emby is streaming


Recommended Posts

Posted

Hello, today I noticed that my server is very hot when Emby is streaming to two users.
It goes to ` CPU temp : WARNING: 74 °C / 165 °F : Reducing the life of your device`.

```
System:    Kernel: 5.10.0-21-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Console: tty 0 
           Distro: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Mini-pc System: HP product: HP EliteDesk 800 G3 DM 65W v: N/A serial: <filter> 
           Mobo: HP model: 829A v: KBC Version 06.29 serial: <filter> UEFI [Legacy]: HP v: P21 Ver. 02.38 
           date: 04/21/2021 
CPU:       Info: Quad Core model: Intel Core i5-7500 bits: 64 type: MCP arch: Kaby Lake rev: 9 
           L2 cache: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27199 
           Speed: 3628 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3628 2: 3579 3: 3312 4: 3648 
Graphics:  Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
           Display: server: X.org 1.20.11 driver: loaded: i915 note: n/a (using device driver) tty: 110x30 
           Message: Advanced graphics data unavailable in console. Try -G --display 
Audio:     Device-1: Intel 200 Series PCH HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 00:1f.3 
           Sound Server: ALSA v: k5.10.0-21-amd64 
Network:   Device-1: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e v: kernel port: efa0 
           bus ID: 00:1f.6 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 15.7 TiB used: 6.25 TiB (39.8%) 
           ID-1: /dev/sda vendor: SanDisk model: SD8SB8U-256G-1006 size: 238.47 GiB temp: 45 C 
           ID-2: /dev/sdb type: USB vendor: Seagate model: Backup+ Hub BK size: 5.46 TiB 
           ID-3: /dev/sdc type: USB vendor: Toshiba model: HDWD130 size: 2.73 TiB 
           ID-4: /dev/sdd type: USB vendor: Seagate model: ST8000VX 004-2M1101 size: 7.28 TiB 
Partition: ID-1: / size: 234.72 GiB used: 118.06 GiB (50.3%) fs: ext4 dev: /dev/sda1 
Swap:      ID-1: swap-1 type: file size: 2 GiB used: 256 KiB (0.0%) file: /var/swap 
Sensors:   System Temperatures: cpu: 68.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 309 Uptime: 11h 33m Memory: 15.51 GiB used: 6.28 GiB (40.5%) Init: systemd 
           runlevel: 5 Compilers: gcc: N/A Packages: 1125 Shell: Bash v: 5.1.4 inxi: 3.3.01 
```
Can I do somethiing to fix this?

Regards. 
 

embyserver.txt

Posted

Hi, well you've got transcoding sessions going on here. That's going to be a resource intensive process.

  • Agree 1
GrimReaper
Posted

Besides, 74°C could hardly be called very hot.

Posted

So it's not a problem for my CPU? It's OK now but I'm worried if more people will watch something it will be higher and destroy my CPU?

GrimReaper
Posted

That depends of what kind of tasks will your CPU be performing, even though specs of your machine list QS-enabled Intel CPU, some tasks cannot be hardware acellerated and will fall on CPU itself. Or maybe your HD630 ain't recognized so you're not getting any HWA at all - post hardware detection log and ffmpeg log for that transcoding session.

GrimReaper
Posted
1 minute ago, Przemek said:

I noticed recently that there was 3 streamings in one time and CPU was only 56 C so it's not always that hot.

As said previously, it depends what kind of tasks might befell your CPU; maybe those 3 streams were DirectPlays or Direct Straems, maybe transcoding wasn't resource intensive, as according your logs you're getting HWA - btw, nothing in that log indicates anything that should tax your CPU, it's a regular 1080p AVC transcode due to bitrate limit done in hardware, which shouldn't give a sweat to your setup, are you sure that is the right log from 74C event?

Posted
6 hours ago, GrimReaper said:

are you sure that is the right log from 74C event?

I take the last, that is close to that event I think.

seanbuff
Posted (edited)
13 minutes ago, Przemek said:

I take the last, that is close to that event I think.

Okay, well as @GrimReaper advised - nothing looks amiss in that log, and your system is already making use of HWA via VAAPI.

You may be able to take advantage of choosing QuickSync (QSV) in the upcoming 4.8 release where it was enabled for Linux systems. It's possible you might see some improvements there.
 

Edited by seanbuff
seanbuff
Posted

Actually, QSV should already be available - are you able to disable VAAPI and select QSV instead to test if there is any difference?

Posted
8 minutes ago, seanbuff said:

Actually, QSV should already be available - are you able to disable VAAPI and select QSV instead to test if there is any difference?

I cannot find that option. Can You tell me where to find that settings?

seanbuff
Posted
2 minutes ago, Przemek said:

I cannot find that option. Can You tell me where to find that settings?

Transcoding > Select 'Advanced'

image.png.bda5cac4bb52ef800b77436901d89905.png

Posted (edited)

OK. How to test. Just play something?
It's OK like that?
 

Zrzut ekranu z 2023-02-09 07-32-08.png

Edited by Przemek
seanbuff
Posted
25 minutes ago, Przemek said:

OK. How to test. Just play something?
It's OK like that?

Yes, simulate some transcoding sessions (by reducing in-app quality, etc)

Also try completely disabling VAAPI, so that QuickSync is the only option.

Posted (edited)
33 minutes ago, seanbuff said:

Yes, simulate some transcoding sessions (by reducing in-app quality, etc)

Also try completely disabling VAAPI, so that QuickSync is the only option.

I try one movie and there's only that streaming right now. I noticed that temp incrase: `WARNING: 78 °C / 159 °F : Reducing the life of your device` I watching my dietpi-dashboard now and it is 71-78 C in first and now is decresing 64 .... 59 .....and so on
image.png.fb9e4404c26345c400c7027a28a1727f.png

Edited by Przemek
seanbuff
Posted

Post the logs for that session?

Did you monitor the actual CPU during that time? Those temps are not even that high tbh.

Is this alert of high temps something new with your server?

Posted
18 minutes ago, seanbuff said:

Post the logs for that session?

Did you monitor the actual CPU during that time? Those temps are not even that high tbh.

Is this alert of high temps something new with your server?

I monitor and it is about 56 C during transcoding. The first temps are about 77 C but then it goes down. I recently noticed that is so high (78 C) but meybe I missed that before.
 

embyserver-63811528450.txt ffmpeg-transcode-622dd38c-ddc1-4ea0-bdb9-af33a42178ef_1.txt hardware_detection-63811528456.txt embyserver (1).txt

Posted

OK, thanks for reassuring me. I will sleep better 🙂

Posted

While that temp is within operational limits it seems on the high side if streaming/transcoding are all that's going on. Your PC model looks like a typical e-Bay refurb/lease return. If you got this PC used then check the CPU fan/cooler to make sure it's running well and not clogged with dust. If you have some thermal paste (TIM) on hand you could also clean/refresh it for the CPU.

Is your temp monitor also showing fan speeds? If not then sensors (lm-sensors) if you have it should display that info from the command line.

Posted

Yes, I buy it from store that sell leased computers. I will do that thermal paste improve.

 

 

dietpi@DietPi:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +45.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +43.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +43.0°C  (high = +80.0°C, crit = +100.0°C)
Core 2:        +43.0°C  (high = +80.0°C, crit = +100.0°C)
Core 3:        +45.0°C  (high = +80.0°C, crit = +100.0°C)

dietpi@DietPi:~$

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...