• 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 100% CPU usage once I start playing

     
    • 0 Vote(s) - 0 Average

    100% CPU usage once I start playing

    marmata75
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:Italy
    #1
    2024-09-15, 04:03 PM
    Hi all,

    using Jellyfin since the very beginning 5y ago now, and it's the first time I've a problem like this. Using 10.9.11 in an lxc container on proxmox, working flawlessly since a couple of years with qsv hardware transcoding.
    Watched a movie yesterday evening with no issues. Went watching a video this morning and I found it quite sluggish. I also begin gettings alerts from checkmk of high memory and high CPU usage.
    By loggin in I see tens of jellyfin threads in htop. Also a bunch of "thread pool starvation".
    The high CPU doesn't stop if I stop playing.
    After restarting the container, same things happen, as soon as I play something everything crawls.
    I enable debug logging and I copied the logs here from the start of the playback: https://pastebin.com/PqCDk4bJ
    I don't see anything weird but I can't compare from the log of the 'normal' condition.
    I avoided to copy the hundreds of "AuthenticationScheme: "CustomAuthentication" was successfully authenticated", the "<item name> has no parental rating set" and a couple of very long sql queries (long in terms of characters. Execution time was udner 50ms, getting worse as the CPU was getting pegged) that were polluting the logs.
    Any hints on what might cause this?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-09-15, 04:25 PM
    Do you have the Trakt plugin installed?
    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]
    marmata75
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:Italy
    #3
    2024-09-15, 04:58 PM
    (2024-09-15, 04:25 PM)TheDreadPirate Wrote: Do you have the Trakt plugin installed?

    Yes I do! Altough now that you tell me, there was no trace in the logs of any plugin activity! Do you think that might be the culprit?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-09-15, 08:18 PM
    Perhaps. This log line is from the Trakt plugin. I'm wondering if this is related to some of the authentication logs you are also seeing.

    Code:
    [2024-09-15 17:14:46.757 +02:00] [DBG] Syncing playback of "/mnt/matanas03media/Video/Youtube/channels/Franchino Er Criminale/Stagione 2024/Franchino Er Criminale - s2024e091399 - Buffet criminali TRIESTE.mp4" is forbidden for user "Marco".

    https://github.com/jellyfin/jellyfin-plu...or.cs#L207
    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