• 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 CPU

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

     
    • 0 Vote(s) - 0 Average

    CPU

    Jellyfin CPU usage Issues
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2024-10-17, 08:36 PM
    Go to the path you mounted /config for the jellyfin container. There will be a log folder with a log named log_20241017.log. Copy and paste the contents of that into pastebin.com.
    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]
    thbkk
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2024 Sep
    Reputation: 0
    #12
    2024-10-21, 08:33 AM (This post was last modified: 2024-10-21, 08:59 AM by thbkk. Edited 1 time in total.)
    Hello, here is the protocol. This time it happened while watching a movie. The CPU spike and the delay of the movie started at 11pm (23:00).
    It could be that the fast forward option of the movie was used around that time. Actually, it is a direct play. So I thought the fast forward shouldn't have any effect.

    Here the logs: Log

    The movie was running via jellyfin but with external Player VLC
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2024-10-21, 12:31 PM
    Jellyfin is just sending the file. Not transcoding or remuxing. No trickplay or chapter image extraction. The only thing I see is the webhook notifications. Try disabling that plugin and see if that changes anything.
    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]
    thbkk
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2024 Sep
    Reputation: 0
    #14
    2024-10-21, 04:10 PM
    (2024-10-21, 12:31 PM)TheDreadPirate Wrote: Jellyfin is just sending the file.  Not transcoding or remuxing.  No trickplay or chapter image extraction.  The only thing I see is the webhook notifications.  Try disabling that plugin and see if that changes anything.

    Look row 19-27. There are warnings and this matches with the CPU PEAKS at this time
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2024-10-21, 04:31 PM
    I see that, but I don't see how sending a file unmodified would do that. The only thing that makes sense is if you have other stuff going on that would consume memory bandwidth or network bandwidth or disk IO.

    Without transcoding, but the CPU is still peaking, indicates that some data path is saturated and the CPU is struggling to move data around fast enough.
    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]
    thbkk
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2024 Sep
    Reputation: 0
    #16
    2024-10-21, 06:11 PM
    Ok, let me investigate it. But the peaks only appear when using jellyfin. I will switch the arr stack to a mini server with more power.

    What do you recommend for Jellyfin. Jellyfin in a separated LXC proxmox or all in one VM with docker container?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #17
    2024-10-21, 06:55 PM
    Is the current docker instance in a VM? Or Docker on the host OS?

    Order of preference.

    1) Direct install on bare metal OS
    2) Docker install on bare metal OS
    3) Direct install in LXC

    And a distant last

    4) Docker install in VM

    With the limited performance of the RPi4 you really need to minimize overhead that virtualization causes. Docker and LXCs minimize a lot of that since they use the host kernel while VMs use their own kernel with virtualized hardware, introducing a lot of overhead.
    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]
    thbkk
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2024 Sep
    Reputation: 0
    #18
    2024-10-22, 08:13 AM
    (2024-10-21, 06:55 PM)TheDreadPirate Wrote: Is the current docker instance in a VM?  Or Docker on the host OS?

    Order of preference.

    1) Direct install on bare metal OS
    2) Docker install on bare metal OS
    3) Direct install in LXC

    And a distant last

    4) Docker install in VM

    With the limited performance of the RPi4 you really need to minimize overhead that virtualization causes.  Docker and LXCs minimize a lot of that since they use the host kernel while VMs use their own kernel with virtualized hardware, introducing a lot of overhead.

    Thanks, but due to the low performance, I bought a mini server (Lenovo ThinkCentre M720q Tiny - Intel i5 8400t). My plan is to use a VM with Docker containers for the ARR stack, hoping that this will solve the issues. A friend has the same mini server but experienced occasional freezing when using fast forward. He switched to Plex and hasn’t had any issues since. Any ideas?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #19
    2024-10-22, 01:16 PM
    How long of a "freeze" are we talking? Without more info it is hard to say. Maybe transcoding?
    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]
    thbkk
    Offline

    Junior Member

    Posts: 15
    Threads: 4
    Joined: 2024 Sep
    Reputation: 0
    #20
    2024-10-27, 10:27 AM
    (2024-10-22, 01:16 PM)TheDreadPirate Wrote: How long of a "freeze" are we talking?  Without more info it is hard to say.  Maybe transcoding?

    I will concentrate on the new setup. 
    You said lxc is better than VM. How difficult is the Passthrough or not needed?
    My plan is jellyfin in lxc with Passthrough and the rest of arr in one Devian VM.
    Make that sense?
    Pages (3): « Previous 1 2 3 Next »

    « 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