Jellyfin Forum
High CPU usage - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: High CPU usage (/t-high-cpu-usage)

Pages: 1 2 3 4


RE: High CPU usage - TheDreadPirate - 2024-01-16

Depends on what you are doing. What need does virtualization provide to you. I run Jellyfin directly on bare metal linux. But a lot of people here use Docker on bare metal linux or Proxmox.


RE: High CPU usage - spanky34 - 2024-01-17

I'm having a similar symptom as OP but a very different install. Should I break it out to it's own thread or try to continue here?


RE: High CPU usage - TheDreadPirate - 2024-01-17

Here is fine. Detail your setup. Hardware specs, OS, virtualization, etc.


RE: High CPU usage - spanky34 - 2024-01-17

Jellyfin 10.8.13
Ubuntu 23.04 VM running on Proxmox 8.0.4
VM with Intel A380 passed through to the VM
7950x3D CPU with 8 cores available to the VM, CPU type "host"
16GB of ram assigned the VM
Running docker-compose with the lscr.io/linuxserver/jellyfin:latest image.  Passing the GPU through here as well.

If I run a transcode and watch intel_gpu_top, I can see the GPU getting used.  When the high cpu usage issue is going on, I'll see nothing in intel_gpu_top and I'll see no streams active on the jellyfin dashboard. 

If I run htop, I can see a jellyfin ffmpeg process running still.  I can kill it and the CPU usage craters. 

I have looked at my libraries and I do not have chapter image extraction enabled in any way.  I did have the subtitle extractor plugin enabled and active.  It has now been disabled as a test.  I do not have jellyscrub or skip intro plugins installed even though I would like to eventually install the intro skipper. 

Currently, I've scripted a docker-compose down/up at 4 AM to help this from getting out of hand.  Without that, this high cpu usage ffmpeg process will run for days


RE: High CPU usage - TheDreadPirate - 2024-01-17

Without seeing the full ffmpeg command, its hard to say what it belongs to. Its possible that there was a queue of ffmpeg commands that wasn't cleared when you disabled subtitle extractor or jellyscrub.


RE: High CPU usage - tsgillx - 2024-01-17

To avoid any misconception. Nothing is running. Every time a run any video CPU usage went to the roof. Even if I stop the CPU usage stays 99%.

Even if I start JellyFin fresh nothing is running same issue. However if disable Transcode video and audio under the specific user iam running the video the cpu usage is fine.

I believe you cannot have transcode video/audio enabled when you have no GPU assigned in JellyFin.


RE: High CPU usage - TheDreadPirate - 2024-01-17

(2024-01-17, 10:44 PM)tsgillx Wrote: I believe you cannot have transcode video/audio enabled when you have no GPU assigned in JellyFin.

You can.  It will just transcode on the CPU.

Can you share your jellyfin and ffmpeg logs with us via https://sourceb.in/ ?


RE: High CPU usage - tsgillx - 2024-01-17

Theoretically, I agree with you, but in reality it's not the case. Every time I enable it on the user side The CPU usage goes through the roof. Under library this transcode is set to None. I cannot select any type of a GPU at all because I don't have any pass-through hyper-v yet. I know how to pass through a GPU through hyper-v into a Windows VM but not treunas

Sure, I can do that. I'm just not sure how to do that cuz I'm trying to find out how to get the logs.


RE: High CPU usage - TheDreadPirate - 2024-01-17

Oh, can you also share your docker compose file with us?

Your logs are in the container path /config/data/logs, IIRC (I run JF bare metal).


RE: High CPU usage - tmsrxzar - 2024-01-17

or dashboard -> logs