• 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 service startup taking ages, extremely slow request from client

     
    • 0 Vote(s) - 0 Average

    service startup taking ages, extremely slow request from client

    bhbh
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    #1
    Yesterday, 10:07 PM
    Hi, i'm using jellyfin for a few month now and i really love it ! But since recently i have a recurring blocking issue. The ui is completely unusable, home page takes minutes to load the contents, if I go to any sub pages, movies, tvshows, music or collections, it takes ages to load, when it loads because some time it does not load anything at all. This happens in any client, server web-ui as android client, and with any user, from localhost as from vpn connection, ethernet or wifi.

    An other symptome is that if i restart the jellyfin server service (the systemd service, not the entire container), it takes 20min to fully start. I mean the service start but i have to wait 20min to be able to access web-ui, it hangs on :

    Code:
        [...]
        Oct 18 19:49:17 jellyfin jellyfin[334896]: [19:49:17] [INF] Filtered subnets: []
        ## 20 min of hang (server not reachable) then finally server respond ##
        Oct 18 20:08:27 jellyfin jellyfin[334896]: [20:08:27] [INF] Loaded plugin: Auto Collections 0.0.2.67
        [...]

    my server is running under archlinux on an lxc container (8 cpu core, 16GiB of ram, root disk 80GiB on zfs pool on ssd) hosted by proxmox on a minisforum nab6 ( i7-12650H + 64GiB ram + 1T ssd). 
    18To of media are on nfs mounted from nas (2092 movies, 297 tv-show, 1428 music artists).

    Code:
        $ pacman -Qs jellyfin
        local/jellyfin-ffmpeg 1:7.1.2p2-1
            Jellyfin fork of ffmpeg
        local/jellyfin-server 10.10.7-3
            Jellyfin server backend
        local/jellyfin-web 10.10.7-1
            Web client for Jellyfin

    I don't have any issue with playback, everything is playing perfectly, direct play as transcoded. 
    Dashboard pages are loading nicely, no lag 
    I don't think it is network connection (everything is ethernet 1G) 
    The mounted library folders don't have any issue on other lxc like \*arr stack or from my laptop 
    CPU and ram usage are never reaching their limits, cpu stays around 1% and ram less than 4GiB 
    I tried to deactivate all extensions, solved nothing.

    I activated debug in logs, but saw nothing i can identify as an issue, chatgpt neither

    I have big suspicions against db. i think db requests are the culprit, but i have no experience with sqlite.

    Code:
          12 -rw-r--r--  1 jellyfin jellyfin  35 May 20 21:20 device.txt
        1.7M -rw-r--r--  1 jellyfin jellyfin 3.3M Oct 18 22:14 jellyfin.db
        4.5K -rw-r--r--  1 jellyfin jellyfin  32K Oct 18 22:20 jellyfin.db-shm
        21K -rw-r--r--  1 jellyfin jellyfin  21K Oct 18 22:17 jellyfin.db-wal
        8.5K drwxr-xr-x 18 jellyfin jellyfin  18 Jun 23 17:55 keyframes
        272M -rw-r--r--  1 jellyfin jellyfin 552M Oct 18 22:17 library.db
        801K -rw-r--r--  1 jellyfin jellyfin 1.1M Oct 18 22:17 library.db-shm
        62M -rw-r--r--  1 jellyfin jellyfin 128M Oct 18 22:17 library.db-wal

    with the help of chatgpt i tried :

    Code:
        sudo systemctl stop jellyfin
        cd /var/lib/jellyfin/data/
        sqlite3 jellyfin.db 'PRAGMA integrity_check;'
        sqlite3 jellyfin.db 'VACUUM;'
        sqlite3 jellyfin.db 'ANALYZE;'
        sqlite3 library.db 'PRAGMA integrity_check;'
        sqlite3 library.db 'VACUUM;'
        sqlite3 library.db 'ANALYZE;'
        sudo systemctl start jellyfin

    it helped a bit, but not for long, lag went back.

    Obviously i already made my own research, sorry if i missed the answer, but i didn't find any solution yet. 
    It is ruining my experience of this awesome software, please help me to resolve this, give me some hints.
    bhbh
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Oct
    Reputation: 0
    #2
    2 hours ago (This post was last modified: 56 minutes ago by bhbh. Edited 2 times in total.)
    and here is debug logs of a 20min startup https://pastebin.com/Kh7QfhzJ
    [edit]
    another start log with all extensions uninstalled https://pastebin.com/xmC5Jfwx
    [edit]
    yet another log with full DEBUG log https://pastebin.com/aAVsZhTT
    « Next Oldest | Next Newest »

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