• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting High CPU usage

    Pages (4): « Previous 1 2 3 4 Next »

     
    • 0 Vote(s) - 0 Average

    High CPU usage

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2024-01-16, 11:35 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    spanky34
    Offline

    Junior Member

    Posts: 10
    Threads: 0
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #12
    2024-01-17, 08:14 PM
    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?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2024-01-17, 08:17 PM
    Here is fine. Detail your setup. Hardware specs, OS, virtualization, etc.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    spanky34
    Offline

    Junior Member

    Posts: 10
    Threads: 0
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #14
    2024-01-17, 09:06 PM (This post was last modified: 2024-01-17, 09:07 PM by spanky34. Edited 2 times in total.)
    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
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2024-01-17, 10:34 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tsgillx
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #16
    2024-01-17, 10:44 PM (This post was last modified: 2024-01-17, 10:45 PM by tsgillx. Edited 1 time in total.)
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #17
    2024-01-17, 11:05 PM
    (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/ ?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tsgillx
    Offline

    Junior Member

    Posts: 10
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #18
    2024-01-17, 11:08 PM (This post was last modified: 2024-01-17, 11:11 PM by tsgillx. Edited 1 time in total.)
    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.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #19
    2024-01-17, 11:09 PM
    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).
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #20
    2024-01-17, 11:10 PM
    or dashboard -> logs
    Pages (4): « Previous 1 2 3 4 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode