• 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 becoming RAM black hole on startup

     
    • 0 Vote(s) - 0 Average

    Jellyfin becoming RAM black hole on startup

    I had to restart my server and now Jellyfin is balloning its RAM usage and never finishes starting up.
    Tyler Smith
    Offline

    Junior Member

    Posts: 4
    Threads: 2
    Joined: 2024 Feb
    Reputation: 0
    #1
    Yesterday, 11:01 PM (This post was last modified: Yesterday, 11:04 PM by Tyler Smith. Edited 1 time in total.)
    My jellyfin instance has recently started ballooning its ram usage until it causes the OS throw and OOM error then restart the service. 
    Code:
    My jellyfin instance has recently started ballooning its ram usage until it causes the OS throw and OOM error then restart the service.  I let it cycle for a while with no change in my results. Stopped the service manually and pulled the log from the machine.  This log seems to show it restarting but not what is causing the error.  Is there somewhere else I could check?  I have 12GB of RAM and this machine is dedicated to Jellyfin.  A small performance monitor is the only other software installed. Out of memory: Killed process 3949 (jellyfin) total-vm:289917264kB, anon-rss:11535956kB, file-rss:2688kB, shmem-rss:2944kB, UID:1000 pgtables:31360kB oom_score_adj:0
    I let it cycle for a while with no change in my results. Stopped the service manually and pulled the log from the machine.  This log seems to show it restarting but not what is causing the error.  Is there somewhere else I could check?  I have 12GB of RAM and this machine is dedicated to Jellyfin.  A small performance monitor is the only other software installed.  I tried increasing my Swap to 32GB.  I after about 30 minutes the ram seems to still be growing. Its currently at 26GB+ (10~ GB RAM 17 GB Swap), but is growing slower if I were to guess.  CPU usage is about a constant 25% on a N100, but the GUI has not been accessible since I brought started back up.

    Code:
    [2025-10-20 06:13:31.820 -07:00] [INF] Removing item, Type: "Folder", Name: "06", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/dd/06", Id: 529f6b12-d05a-446d-764f-ebde9caaa381
    [2025-10-20 06:13:31.967 -07:00] [INF] Removing item, Type: "Folder", Name: "1d", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/cc/1d", Id: 9032a9a5-8487-a923-5636-79fc161e4000
    [2025-10-20 06:14:54.009 -07:00] [WRN] As of "10/20/2025 13:14:53 +00:00", the heartbeat has been running for "00:01:21.0910076" which is longer than "00:00:01". This could be caused by thread pool starvation.
    [2025-10-20 06:15:03.241 -07:00] [INF] Removing item, Type: "Folder", Name: "e4", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/a8/e4", Id: 9bab67c0-9b02-cda5-fef0-281634efc2dc
    [2025-10-20 06:15:06.741 -07:00] [INF] Removing item, Type: "Folder", Name: "a4", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/dd/a4", Id: 54835dd5-fcb5-94a9-dd17-9320bb2ef087
    [2025-10-20 06:15:06.790 -07:00] [INF] Removing item, Type: "Folder", Name: "32", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/cc/32", Id: acb4c5ef-aeb9-997f-aa36-621cda4b627e
    [2025-10-20 06:15:09.823 -07:00] [INF] Removing item, Type: "Folder", Name: "b9", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/a8/b9", Id: ea630a10-7a27-5cf5-7b0f-56265a276d97
    [2025-10-20 06:15:13.408 -07:00] [INF] Removing item, Type: "Folder", Name: "f3", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/dd/f3", Id: aa8b2acd-c55f-c6eb-8431-1b3cfcfd8150
    [2025-10-20 06:15:13.464 -07:00] [INF] Removing item, Type: "Folder", Name: "45", Path: "/mnt/Media/photos/thumbs/9fecea8a-b16a-42fc-bfd4-dcd578f9c6ae/cc/45", Id: 2dc3b39a-8a6d-c906-5103-d3a98518bf5b
    [2025-10-20 06:17:26.963 -07:00] [WRN] As of "10/20/2025 13:17:26 +00:00", the heartbeat has been running for "00:01:39.3446284" which is longer than "00:00:01". This could be caused by thread pool starvation.
    [2025-10-20 06:17:44.624 -07:00] [INF] Jellyfin version: "10.10.7"
    [2025-10-20 06:17:44.660 -07:00] [INF] Environment Variables: ["[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]"]
    [2025-10-20 06:17:44.662 -07:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    [2025-10-20 06:17:44.664 -07:00] [INF] Operating system: "Ubuntu 24.04.3 LTS"
    [2025-10-20 06:17:44.665 -07:00] [INF] Architecture: X64
    [2025-10-20 06:17:44.665 -07:00] [INF] 64-Bit Process: True
    [2025-10-20 06:17:44.665 -07:00] [INF] User Interactive: True
    [2025-10-20 06:17:44.665 -07:00] [INF] Processor count: 4
    [2025-10-20 06:17:44.666 -07:00] [INF] Program data path: "/var/lib/jellyfin"
    [2025-10-20 06:17:44.666 -07:00] [INF] Log directory path: "/var/log/jellyfin"
    [2025-10-20 06:17:44.666 -07:00] [INF] Config directory path: "/etc/jellyfin"
    [2025-10-20 06:17:44.666 -07:00] [INF] Cache path: "/var/cache/jellyfin"
    [2025-10-20 06:17:44.666 -07:00] [INF] Temp directory path: "/tmp/jellyfin"
    [2025-10-20 06:17:44.666 -07:00] [INF] Web resources path: "/usr/share/jellyfin/web"
    [2025-10-20 06:17:44.666 -07:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
    [2025-10-20 06:17:44.870 -07:00] [INF] Setting cache path: "/var/cache/jellyfin"
    [2025-10-20 06:17:44.973 -07:00] [INF] Loading assemblies
    [2025-10-20 06:17:45.071 -07:00] [INF] Defined LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 06:17:45.071 -07:00] [INF] Defined LAN exclusions: []
    [2025-10-20 06:17:45.071 -07:00] [INF] Used LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 06:17:45.072 -07:00] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.1.136"]
    [2025-10-20 06:17:45.073 -07:00] [INF] Bind Addresses ["0.0.0.0"]
    [2025-10-20 06:17:45.073 -07:00] [INF] Remote IP filter is "Allowlist"
    [2025-10-20 06:17:45.073 -07:00] [INF] Filtered subnets: []
    [2025-10-20 06:40:02.998 -07:00] [INF] Jellyfin version: "10.10.7"
    [2025-10-20 06:40:03.035 -07:00] [INF] Environment Variables: ["[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_ADDITIONAL_OPTS, ]"]
    [2025-10-20 06:40:03.037 -07:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    [2025-10-20 06:40:03.039 -07:00] [INF] Operating system: "Ubuntu 24.04.3 LTS"
    [2025-10-20 06:40:03.039 -07:00] [INF] Architecture: X64
    [2025-10-20 06:40:03.040 -07:00] [INF] 64-Bit Process: True
    [2025-10-20 06:40:03.040 -07:00] [INF] User Interactive: True
    [2025-10-20 06:40:03.040 -07:00] [INF] Processor count: 4
    [2025-10-20 06:40:03.040 -07:00] [INF] Program data path: "/var/lib/jellyfin"
    [2025-10-20 06:40:03.040 -07:00] [INF] Log directory path: "/var/log/jellyfin"
    [2025-10-20 06:40:03.040 -07:00] [INF] Config directory path: "/etc/jellyfin"
    [2025-10-20 06:40:03.040 -07:00] [INF] Cache path: "/var/cache/jellyfin"
    [2025-10-20 06:40:03.041 -07:00] [INF] Temp directory path: "/tmp/jellyfin"
    [2025-10-20 06:40:03.041 -07:00] [INF] Web resources path: "/usr/share/jellyfin/web"
    [2025-10-20 06:40:03.041 -07:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
    [2025-10-20 06:40:03.255 -07:00] [INF] Setting cache path: "/var/cache/jellyfin"
    [2025-10-20 06:40:03.367 -07:00] [INF] Loading assemblies
    [2025-10-20 06:40:03.463 -07:00] [INF] Defined LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 06:40:03.463 -07:00] [INF] Defined LAN exclusions: []
    [2025-10-20 06:40:03.464 -07:00] [INF] Used LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 06:40:03.465 -07:00] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.1.136"]
    [2025-10-20 06:40:03.466 -07:00] [INF] Bind Addresses ["0.0.0.0"]
    [2025-10-20 06:40:03.466 -07:00] [INF] Remote IP filter is "Allowlist"
    [2025-10-20 06:40:03.466 -07:00] [INF] Filtered subnets: []
    [2025-10-20 07:02:06.320 -07:00] [INF] Jellyfin version: "10.10.7"
    [2025-10-20 07:02:06.357 -07:00] [INF] Environment Variables: ["[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]"]
    [2025-10-20 07:02:06.360 -07:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    [2025-10-20 07:02:06.361 -07:00] [INF] Operating system: "Ubuntu 24.04.3 LTS"
    [2025-10-20 07:02:06.361 -07:00] [INF] Architecture: X64
    [2025-10-20 07:02:06.362 -07:00] [INF] 64-Bit Process: True
    [2025-10-20 07:02:06.362 -07:00] [INF] User Interactive: True
    [2025-10-20 07:02:06.362 -07:00] [INF] Processor count: 4
    [2025-10-20 07:02:06.362 -07:00] [INF] Program data path: "/var/lib/jellyfin"
    [2025-10-20 07:02:06.362 -07:00] [INF] Log directory path: "/var/log/jellyfin"
    [2025-10-20 07:02:06.362 -07:00] [INF] Config directory path: "/etc/jellyfin"
    [2025-10-20 07:02:06.362 -07:00] [INF] Cache path: "/var/cache/jellyfin"
    [2025-10-20 07:02:06.362 -07:00] [INF] Temp directory path: "/tmp/jellyfin"
    [2025-10-20 07:02:06.362 -07:00] [INF] Web resources path: "/usr/share/jellyfin/web"
    [2025-10-20 07:02:06.363 -07:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
    [2025-10-20 07:02:06.578 -07:00] [INF] Setting cache path: "/var/cache/jellyfin"
    [2025-10-20 07:02:06.693 -07:00] [INF] Loading assemblies
    [2025-10-20 07:02:06.792 -07:00] [INF] Defined LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 07:02:06.793 -07:00] [INF] Defined LAN exclusions: []
    [2025-10-20 07:02:06.793 -07:00] [INF] Used LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 07:02:06.794 -07:00] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.1.136"]
    [2025-10-20 07:02:06.795 -07:00] [INF] Bind Addresses ["0.0.0.0"]
    [2025-10-20 07:02:06.795 -07:00] [INF] Remote IP filter is "Allowlist"
    [2025-10-20 07:02:06.795 -07:00] [INF] Filtered subnets: []
    *** It kept restarting for several house, just repeats of the previous start log.****
    [2025-10-20 15:26:23.889 -07:00] [INF] Jellyfin version: "10.10.7"
    [2025-10-20 15:26:23.926 -07:00] [INF] Environment Variables: ["[JELLYFIN_LOG_DIR, /var/log/jellyfin]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_ADDITIONAL_OPTS, ]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLFIN_ADDITIONAL_OPTS --datadir $JELLYFIN_DATA_DIR --configdir $JELLYFIN_CONFIG_DIR --logdir $JELLYFIN_LOG_DIR --cachedir $JELLYFIN_CACHE_DIR]", "[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]"]
    [2025-10-20 15:26:23.928 -07:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg"]
    [2025-10-20 15:26:23.929 -07:00] [INF] Operating system: "Ubuntu 24.04.3 LTS"
    [2025-10-20 15:26:23.929 -07:00] [INF] Architecture: X64
    [2025-10-20 15:26:23.930 -07:00] [INF] 64-Bit Process: True
    [2025-10-20 15:26:23.930 -07:00] [INF] User Interactive: True
    [2025-10-20 15:26:23.930 -07:00] [INF] Processor count: 4
    [2025-10-20 15:26:23.930 -07:00] [INF] Program data path: "/var/lib/jellyfin"
    [2025-10-20 15:26:23.930 -07:00] [INF] Log directory path: "/var/log/jellyfin"
    [2025-10-20 15:26:23.930 -07:00] [INF] Config directory path: "/etc/jellyfin"
    [2025-10-20 15:26:23.930 -07:00] [INF] Cache path: "/var/cache/jellyfin"
    [2025-10-20 15:26:23.930 -07:00] [INF] Temp directory path: "/tmp/jellyfin"
    [2025-10-20 15:26:23.930 -07:00] [INF] Web resources path: "/usr/share/jellyfin/web"
    [2025-10-20 15:26:23.930 -07:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
    [2025-10-20 15:26:24.130 -07:00] [INF] Setting cache path: "/var/cache/jellyfin"
    [2025-10-20 15:26:24.225 -07:00] [INF] Loading assemblies
    [2025-10-20 15:26:24.322 -07:00] [INF] Defined LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 15:26:24.322 -07:00] [INF] Defined LAN exclusions: []
    [2025-10-20 15:26:24.322 -07:00] [INF] Used LAN subnets: ["192.168.1.0/24"]
    [2025-10-20 15:26:24.323 -07:00] [INF] Filtered interface addresses: ["127.0.0.1", "192.168.1.136"]
    [2025-10-20 15:26:24.325 -07:00] [INF] Bind Addresses ["0.0.0.0"]
    [2025-10-20 15:26:24.325 -07:00] [INF] Remote IP filter is "Allowlist"
    [2025-10-20 15:26:24.325 -07:00] [INF] Filtered subnets: []
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    Messages In This Thread
    Jellyfin becoming RAM black hole on startup - by Tyler Smith - Yesterday, 11:01 PM

    • 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