• 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 System Hang When Searching on Web After Upgrading from 10.8.x to 10.9.x

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    System Hang When Searching on Web After Upgrading from 10.8.x to 10.9.x

    10rounds
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #1
    2024-08-25, 10:57 PM (This post was last modified: 2024-08-25, 10:58 PM by 10rounds. Edited 1 time in total.)
    I recently upgraded my Jellyfin instance on a Raspberry Pi from version 10.8.x to 10.9.9 via apt, and then to 10.9.10 today. Post-upgrade, the Jellyfin web interface loads correctly, and I can play music without any issues. However, the system intermittently hangs completely. Despite waiting for about an hour, the system remains unresponsive, requiring a hard reboot.

    Additionally, when the hang occurs, SSH becomes completely unresponsive, although the connection doesn’t drop. The console is also extremely slow, making even basic keyboard input difficult and almost impossible to execute any commands.

    After experiencing this issue several times, I performed a backup and an SQLite database health check, both of which reported no problems. I then realized that the hang consistently occurs when I perform a search through the web interface, leading me to believe that this may be the trigger after the upgrade. Interestingly, I have some scripts that perform searches via the API, and those seem to work fine without causing any hangs.

    I’ve reviewed the Jellyfin logs but couldn’t find anything related to the issue. Could you please advise on what further information I could provide to help diagnose and report this problem?

    Thank you.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-08-25, 11:59 PM
    You can try reducing the number of threads that Jellyfin uses for library scans and such.

    Dashboard > General. Set Parallel library scan tasks limit and Parallel image encoding limit to 1.

    Dashboard > Playback > Trickplays. Set FFmpeg Threads to 1.
    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]
    10rounds
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #3
    2024-08-26, 01:10 AM
    Thanks for the suggestions! Just wondering, how would reducing threads help with the search issue on the web interface? My Jellyfin has been working fine for over a year, and searches were perfect before the upgrade.

    Also, the library scan time is still the same as before, about 4 minutes, so I don’t think that’s the issue. I checked the logs appears ffmpeg/ffprobe, and they look normal.

    Any ideas if this could be related to something else?

    Thanks!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-08-26, 01:15 PM (This post was last modified: 2024-08-26, 01:15 PM by TheDreadPirate.)
    Can you share your full jellyfin logs via pastebin?
    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]
    10rounds
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #5
    2024-08-26, 03:09 PM (This post was last modified: 2024-08-26, 03:18 PM by 10rounds. Edited 1 time in total.)
    Here’s the link to my jellyfin logs: https://pastebin.com/tqZnnp26
    https://pastebin.com/wkRChWXW
    https://pastebin.com/RCxSTiqx
    https://pastebin.com/dsjTrgNG
    https://pastebin.com/HRRmNCup

    grep -v ffprobe: https://pastebin.com/ut1NbSP8


    After the hang occurred, I reviewed the logs and made some adjustments on system. I increased sysctl fs.inotify.max_user_instances to 8192 and fs.inotify.max_user_watches to 524288, and I also changed permissions to ensure Jellyfin has write access to all directories. Unfortunately, the hang still happens despite these changes.

    Let me know if you need any more information or if you spot anything in the logs.

    Thanks.
    10rounds
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #6
    2024-08-26, 03:53 PM
    I just triggered another hang, but this time it wasn’t during a search. I clicked "Add to Playlist" on the web UI, and the system hung immediately after. The playlist selection box didn't load. Before the upgrade, the playlist selection box was slow, but it would eventually load.

    For some background, my library contains ~50,000 m4a files and about 3,800 m3u playlists. Both the database and the library are stored on an SSD.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-08-26, 04:04 PM
    Nothing in the log indicates that Jellyfin is the root of the problem. Check your system logs for any possible issues at the OS level.

    Another thing to keep an eye on is system load, which is related to CPU usage but not the same. If you have low CPU usage from an app, but high system load, there is something going on at the OS level. Kernel backlogs, disk I/O bottleneck, memory bottleneck.
    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]
    10rounds
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #8
    2024-08-26, 04:47 PM
    Would it be a good idea to set the Jellyfin log level to debug? I've reviewed the system logs, but there's nothing useful in journalctl.

    I'm also considering downgrading back to 10.8. Has the database schema changed with the upgrade? This upgrade has been quite painful.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-08-26, 07:03 PM
    The last RPi user that had this problem didn't have anything in their debug logs that indicated the problem was due to something with Jellyfin, specifically.

    You cannot downgrade to 10.8 unless you have a pre-upgrade backup. The database schema changed significantly.
    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]
    10rounds
    Offline

    Junior Member

    Posts: 19
    Threads: 4
    Joined: 2024 May
    Reputation: 0
    Country:United Kingdom
    #10
    2024-08-26, 07:20 PM
    Thank you. I’m curious, since you mentioned another RPi user had a similar issue, could you share more details or links to their case? It might help me identify if I’m dealing with the same problem.

    Appreciate!
    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