• 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 Jellyfin keeps getting shutdown due to OOM errors

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Jellyfin keeps getting shutdown due to OOM errors

    RoyalFaceMelter
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #11
    2025-01-01, 02:26 AM
    (2024-12-31, 08:40 PM)TheDreadPirate Wrote: How about

    Code:
    grep dockerd /var/log/syslog

    That one worked, the output is on Pastebin:

    https://pastebin.com/C6PKqfbw
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2025-01-01, 07:07 PM
    Not particularly helpful.....

    You are not the first unRAID user to have this problem. I don't recall what, if any, of the prior users did to fix this problem. Or if they even fixed their problem.
    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]
    RoyalFaceMelter
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #13
    2025-01-01, 07:15 PM
    (2025-01-01, 07:07 PM)TheDreadPirate Wrote: Not particularly helpful.....

    You are not the first unRAID user to have this problem.  I don't recall what, if any, of the prior users did to fix this problem.  Or if they even fixed their problem.

    Yeah, I didn't think it looked like much either. At any rate, I am not sure if I "fixed" the issue, but I definitely slowed to the point it hasn't happened in a couple days now.

    In trial and error, I went in and disabled some plugins. I disabled the Opensubtitles Plugin (and uninstalled it) and I think that might have done it. I am not sure why and how, but that's I did...I can come back and update this post if it ends up being a good fix.
    RoyalFaceMelter
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #14
    2025-01-04, 03:20 AM
    Hey, so disabling the Opensubtitles plugin appears to have fixed the issue, but I guess not...I did manage to collect the logs of a crash cycle. I put the log on pastebin. This is everything from the first OOM message up until Jellyfin crashed. Any help would be appreciated!

    https://pastebin.com/jkaiiD3f
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #15
    2025-01-04, 07:05 PM
    I have only ever seen this issue on unRAID and I don't recall there being a solution.

    I'm wondering if one environment variable isn't getting set. IIRC, in the container config, there is an option to add environment variables. Open the config for the jellyfin container, add a new environment variable called "MALLOC_TRIM_THRESHOLD_", with the extra underscore at the end, and give it a value of 131072.
    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]
    RoyalFaceMelter
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #16
    2025-01-21, 11:14 PM
    (2025-01-04, 07:05 PM)TheDreadPirate Wrote: I have only ever seen this issue on unRAID and I don't recall there being a solution.

    I'm wondering if one environment variable isn't getting set.  IIRC, in the container config, there is an option to add environment variables.  Open the config for the jellyfin container, add a new environment variable called "MALLOC_TRIM_THRESHOLD_", with the extra underscore at the end, and give it a value of 131072.

    Sorry I was away for a while and didn't see that you'd replied. This issue does continue to happen. I just added that variable you suggested so fingers crossed!

    What does the variable do?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #17
    2025-01-22, 04:03 PM (This post was last modified: 2025-01-22, 04:04 PM by TheDreadPirate. Edited 1 time in total.)
    It triggers Jellyfin (DOTNET?) to deallocate memory more aggressively than it would otherwise.

    I was researching something unrelated and saw something that got me thinking unRAID might be overriding docker environment variables. You are one of many unRAID users with this exact same problem. But docker users on plain Linux don't have this problem.

    I will do some testing on my unRAID test bench over the weekend.
    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]
    RoyalFaceMelter
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #18
    2025-01-27, 12:08 AM
    (2025-01-22, 04:03 PM)TheDreadPirate Wrote: It triggers Jellyfin (DOTNET?) to deallocate memory more aggressively than it would otherwise.

    I was researching something unrelated and saw something that got me thinking unRAID might be overriding docker environment variables.  You are one of many unRAID users with this exact same problem.  But docker users on plain Linux don't have this problem.

    I will do some testing on my unRAID test bench over the weekend.


    This just happened again today, so sadly it doesn't appear that adding that line changed anything Confused-face

    Did your testing come up with anything?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #19
    2025-01-27, 01:53 AM
    Haven't had a chance due to other obligations. I will be booting unRAID up in a bit to let it run overnight and most of tomorrow morning and will report back.
    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): « Previous 1 2

    « 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