• 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 Technical limits with Jellyfin ?

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Technical limits with Jellyfin ?

    vincen
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jun
    Reputation: 0
    #1
    2023-10-01, 05:53 AM
    Hi

    User since few years of Jellyfin, I'd like to share a problem I have with it. First I have to give few indications about my system.

    It's running on Linux Debian 12 on a machine with a Xeon @ 2Ghz with 32 cores and 128Go of RAM. Storage is done on a ZFS array (one array is used for metadatas and one for medias storage). The ZFS arrays are able to sustain 3.5G of data transfert. Processor load is never reaching 10%.
    I'm running Jellyfin server 10.8.1 and it contains 22 000 movies and around 2 500 TV shows.

    I have no problem so far to play medias but the browsing and Jellyfin interface is quite sluggish and often I'm stuck on the spinning wheel for ever (whatever I use the Jellyfin Player on Linux or web browser).

    Is it due at number of medias and reaching some technical limits ? or is there something that can be done ? like moving database in a MySQL system instead of flat db ?

    Also something is that if Jellyfin is scanning medias, then the interface is nearly unusable till scan is over !

    Thanks for advices, suqqestions,

    Vincèn
    skribe
    Offline

    Community Moderator

    Posts: 147
    Threads: 0
    Joined: 2023 Jun
    Reputation: 5
    #2
    2023-10-01, 06:45 AM
    It sounds to me as if your sqlite DB is congested. This could be caused by a few things. Share your full server log and we can take a look. There is not a way to use MySQL at this time, but sqlite should also be fine for any reasonable scale. This issue is most often caused by storage congestion in general, or plugins behaving badly. The logs are the place to start.
    bitmap
    Offline

    Community Moderator

    Posts: 865
    Threads: 9
    Joined: 2023 Jul
    Reputation: 29
    #3
    2023-10-01, 09:08 AM
    Just a quick thing to check, I would follow skribe's advice of posting logs, but consider looking at your scheduled tasks and how long they're taking to complete and when they're scheduled.

    I had issues with scheduled tasks causing occasional playback failures and network congestion during my workday and it was because Jellyfin was just absolutely blasting the TMDB API for people images. The scheduled task was set to run on a weird schedule like every 136 hours which made it fall at odd times and it took me forever to track down. I deleted that trigger and moved it to a reasonable, low-traffic timeframe and eliminated my issue. Not saying this is the same, but the symptoms are haunting echoes of the ghosts I chased for months...
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    toytown
    Offline

    Member

    Posts: 85
    Threads: 3
    Joined: 2023 Jun
    Reputation: 3
    #4
    2023-10-01, 11:50 AM (This post was last modified: 2023-10-01, 02:52 PM by toytown. Edited 1 time in total.)
    I have about 60% of the movie collection you do, however my interface is super snappy with page load times pretty much instant.

    The only exception is when JellyFin is scanning new media, in which case i also have the same issue and the interface is so sluggish it's not worth browsing. I've set this to manual so i can control at least when this happens and to be fair the scan doesn't take too long (less than a minute), my guess is that SQLite DB is the cause and the eventual move to mySql will fix this.

    EDIT - Just to mention my jellyfin docker and all the metadata is on a NVMe, whilst my movies are on HDD
    vincen
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jun
    Reputation: 0
    #5
    2023-10-05, 02:17 PM
    (2023-10-01, 06:45 AM)skribe Wrote: It sounds to me as if your sqlite DB is congested. This could be caused by a few things. Share your full server log and we can take a look. There is not a way to use MySQL at this time, but sqlite should also be fine for any reasonable scale. This issue is most often caused by storage congestion in general, or plugins behaving badly. The logs are the place to start.
    Sorry for late answers but as notifications by email are not working I saw them late Slightly-frowning-face Regarding logs can I share them without precautions ? nothing sensible in it ? I have seen there is the IP address of server that I can remove easily, anything else before I post it here ?

    (2023-10-01, 09:08 AM)bitmap Wrote: Just a quick thing to check, I would follow skribe's advice of posting logs, but consider looking at your scheduled tasks and how long they're taking to complete and when they're scheduled.
    I had issues with scheduled tasks causing occasional playback failures and network congestion during my workday and it was because Jellyfin was just absolutely blasting the TMDB API for people images. The scheduled task was set to run on a weird schedule like every 136 hours which made it fall at odd times and it took me forever to track down. I deleted that trigger and moved it to a reasonable, low-traffic timeframe and eliminated my issue. Not saying this is the same, but the symptoms are haunting echoes of the ghosts I chased for months...
    Thanks for advice about scheduled tasks and yeah I had quite a few setup like "Run every xxxx hours" so I have rescheduled all of them to run by night on different days of week and with time limit to be sure they are always running during quiet times Smiling-face

    (2023-10-01, 11:50 AM)toytown Wrote: I have about 60% of the movie collection you do, however my interface is super snappy with page load times pretty much instant. 
    The only exception is when JellyFin is scanning new media, in which case i also have the same issue and the interface is so sluggish it's not worth browsing.  I've set this to manual so i can control at least when this happens and to be fair the scan doesn't take too long (less than a minute), my guess is that SQLite DB is the cause and the eventual move to mySql will fix this.
    EDIT - Just to mention my jellyfin docker and all the metadata is on a NVMe, whilst my movies are on HDD
    I have fully deactivated the automatic scan of libraries because I had already noticed same problem you point out: when a scan is running the server is nearly down in term of use Slightly-frowning-face
    Storage should not be a problem as metadata folder is on a dedicated ZFS array and an other one for media files and both have around 2.5g of data transfer rate sustained.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-10-05, 02:30 PM (This post was last modified: 2023-10-05, 02:30 PM by TheDreadPirate.)
    (2023-10-05, 02:17 PM)vincen Wrote: Sorry for late answers but as notifications by email are not working I saw them late Slightly-frowning-face Regarding logs can I share them without precautions ? nothing sensible in it ? I have seen there is the IP address of server that I can remove easily, anything else before I post it here ?

    You should remove any WAN IPs from your logs and user names.

    Then upload your log to sourcebin or pastebin and share the link here.
    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]
    vincen
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jun
    Reputation: 0
    #7
    2023-10-05, 06:04 PM
    (2023-10-01, 06:45 AM)skribe Wrote: You should remove any WAN IPs from your logs and user names.
    Thanks here is the file: https://group.vincen.org/index.php/s/ktjqTgjNKQ8Spzd
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2023-10-05, 07:34 PM
    Theres a lot going on in that log. The only thing out of the ordinary is ffmpeg crashing a bunch. Can you share those ffmpeg logs with us?

    Is the database on the ZFS array? Located in /var/lib/jellyfin/data/. Or is that directory on an SSD?
    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]
    vincen
    Offline

    Junior Member

    Posts: 14
    Threads: 4
    Joined: 2023 Jun
    Reputation: 0
    #9
    2023-10-06, 06:34 AM
    (2023-10-05, 07:34 PM)TheDreadPirate Wrote: Theres a lot going on in that log.  The only thing out of the ordinary is ffmpeg crashing a bunch.  Can you share those ffmpeg logs with us?
    For ffmpeg I have a bunch of log files as it generates one for each encoding request Confused-face Here are last ones, let me know if you need anything else Winking-face For ffmpeg I have installed on system the special version for jellyfin as indicated in configuration documentation ! https://group.vincen.org/index.php/s/MZXDYq4NxAjYRZs
    (2023-10-05, 07:34 PM)TheDreadPirate Wrote: Is the database on the ZFS array?  Located in /var/lib/jellyfin/data/.  Or is that directory on an SSD?
    The database is on the zfs array. I have done a symlimk of /var/lib/jellyfin/data Winking-face

    I have noticed quite some improvements already by resetup of scheduled tasks so they run only during quiet time as suggested by @bitmap Smiling-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2023-10-06, 03:57 PM
    Having your database on a ZFS file system is possible, it is very much not recommended. Database READ performance is fine, but when you are writing to a database that is on a ZFS file system there are serious performance penalties.

    And because your database is big, that adds to the performance penalty.

    If possible, move your database to an EXT4 file system.
    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]
    Pages (2): 1 2 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