• 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 Unused Jellyfin uses a lot of resources

     
    • 0 Vote(s) - 0 Average

    Unused Jellyfin uses a lot of resources

    High CPU and Memory used by Jellyfin which is not being used
    penguin-matt
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #1
    2024-05-06, 09:55 PM
    Jellyfin runs within docker on ubuntu 22.04. Everything runs fine but occasionally my system load spikes up dramatically and becomes unusable. I do not think that Jellyfin is the sole contributor to this spiking but when looking at the system using htop I can see several jellyfin processes using a significant amount of memory and CPU. While I've got jellyfin running permanently I am still using plex so jellyfin should just be idling and not use significant resource.

    Maybe it's some kind of scheduled job in jellyfin but the processes which I see are all the same

    /usr/bin/jellyfin --ffmpeg=/usr/bin/jellyfin-ffmpeg/ffmpeg

    I'm wondering if there is something I can do about this or diagnose further what might be causing this?

    I think the high load is actually caused by Plex but that's another investigation and I'm trying to get to the bottom of everything
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-05-06, 10:11 PM
    Which docker image are you using?
    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]
    penguin-matt
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #3
    2024-05-06, 10:36 PM
    (2024-05-06, 10:11 PM)TheDreadPirate Wrote: Which docker image are you using?

    The linuxserver one.

    I actually actually might have to recant my suspicion of Plex being the cause here. My load is less than 1, I start the jellyfin container and it spikes up, I stop it and it goes back under 1 again so the culprit may be jellyfin after all.
    Kevin Nord
    Offline

    Junior Member

    Posts: 27
    Threads: 7
    Joined: 2023 Jun
    Reputation: 0
    #4
    2024-05-07, 01:41 PM
    (2024-05-06, 09:55 PM)penguin-matt Wrote: Jellyfin runs within docker on ubuntu 22.04. Everything runs fine but occasionally my system load spikes up dramatically and becomes unusable. I do not think that Jellyfin is the sole contributor to this spiking but when looking at the system using htop I can see several jellyfin processes using a significant amount of memory and CPU. While I've got jellyfin running permanently I am still using plex so jellyfin should just be idling and not use significant resource.

    Maybe it's some kind of scheduled job in jellyfin but the processes which I see are all the same

    /usr/bin/jellyfin --ffmpeg=/usr/bin/jellyfin-ffmpeg/ffmpeg

    I'm wondering if there is something I can do about this or diagnose further what might be causing this?

    I think the high load is actually caused by Plex but that's another investigation and I'm trying to get to the bottom of everything

    Check scheduled tasks in your admin dashboard. Depending on the size of your collection and how you add media, Jellyfin can get hammered by requesting metadata and making updates to the db. Unfortunately, the default time for the scheduled tasks is the same time Jellyfin was initialized, so if you set it up at 1300 it'll run tasks at 1300 every day. I recommend scheduling them for a sane hour when you have minimal users.
    I don't want to change my sig with every new version. I'm running whatever the currently packaged version for Ubuntu Server 22.04 Smiling-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-05-07, 04:41 PM
    The Linuxserver Jellyfin docker image does not properly restrict the number of ffmpeg processes that spawn during a scan. The official jellyfin/jellyfin image, and bare metal jellyfin, restricts ffmpeg to 2x your thread count. Whereas I've documented hundreds of ffmpeg processes spawning during a library scan when testing the LSIO image.
    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]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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