• 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): 1 2 Next »

     
    • 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
    #1
    2024-12-30, 12:57 AM
    My JF container (Unraid docker) keeps getting shutdown every two or so days and my server displays a OOM error. The container always restarts itself and seems to available again after a short time. Not sure what's going or how to troubleshoot. Any help would be welcome. I have attached an image of the OOM log message I'm seeing.

    Thanks in advance!


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-30, 01:30 PM
    How much memory are you giving it? Can you share your logs via pastebin? Is a scheduled task running shortly before the OOM?
    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
    #3
    2024-12-30, 01:47 PM
    (2024-12-30, 01:30 PM)TheDreadPirate Wrote: How much memory are you giving it?  Can you share your logs via pastebin?  Is a scheduled task running shortly before the OOM?

    It's allowed 16gb, I don't limit any of my docker containers actually. I've never seen anything get even close to the 16gb limit.

    No scheduled tasks run right before the OOM, as you can see by the timestamps in the screenshot it was a sort of random time in the afternoon, not on the hour or anything.

    I can get the logs, which ones would you need to see or like to see?
    RoyalFaceMelter
    Offline

    Junior Member

    Posts: 14
    Threads: 2
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #4
    2024-12-30, 10:38 PM
    (2024-12-30, 01:30 PM)TheDreadPirate Wrote: How much memory are you giving it?  Can you share your logs via pastebin?  Is a scheduled task running shortly before the OOM?

    I created the Pastebin of my log (from Today) - it crashed today at 14:22 -- I have the log from 13:00 to 16:00 so it should cover everything. I didn't see anything out of the ordinary, but I am no expert...

    Pastebin Link:

    https://pastebin.com/45PXnxxm
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-12-31, 07:11 PM
    What kind of mount types are you using for your docker config? Can you share screenshots of unRAID UI for the Jellyfin container config?
    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
    #6
    2024-12-31, 07:15 PM
    (2024-12-31, 07:11 PM)TheDreadPirate Wrote: What kind of mount types are you using for your docker config?  Can you share screenshots of unRAID UI for the Jellyfin container config?

    I've attached a screenshot of my docker container config.


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-12-31, 07:33 PM
    In the top right of the unRAID UI, click on the terminal icon. Then type this command to print out the docker daemon logs.

    Code:
    journalctl -u docker.service -n 1000 --no-pager

    Share the output of that command via pastebin. Hopefully 1000 lines goes back far enough to capture the last instance this happened.
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-12-31, 07:38 PM
    And what is the output of this command, also on the unRAID terminal.

    Code:
    docker inspect jellyfin | grep -i MALLOC_TRIM_THRESHOLD_
    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
    #9
    2024-12-31, 08:15 PM (This post was last modified: 2024-12-31, 08:16 PM by RoyalFaceMelter.)
    (2024-12-31, 07:33 PM)TheDreadPirate Wrote: In the top right of the unRAID UI, click on the terminal icon.  Then type this command to print out the docker daemon logs.

    Code:
    journalctl -u docker.service -n 1000 --no-pager

    Share the output of that command via pastebin.  Hopefully 1000 lines goes back far enough to capture the last instance this happened.

    This one tells me the journalctl command is not found.

    (2024-12-31, 07:38 PM)TheDreadPirate Wrote: And what is the output of this command, also on the unRAID terminal.

    Code:
    docker inspect jellyfin | grep -i MALLOC_TRIM_THRESHOLD_

    This code returns nothing. Not error or anything, it just doesn’t return anything.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-12-31, 08:40 PM
    How about

    Code:
    grep dockerd /var/log/syslog
    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