Jellyfin Forum
OOM Errors related to Jellyfin - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: OOM Errors related to Jellyfin (/t-oom-errors-related-to-jellyfin)



OOM Errors related to Jellyfin - RoyalFaceMelter - 2025-02-09

I have posted about this here before and I THOUGHT the issue was resolved, but no appearantly not. I am not even sure if it's Jellyfin related, but the UnRAID system logs always mention Jellyfin so I wanted to create a new thread on it.

So I put all of my logs from the 05:00 hour this morning on Pastebin:
https://pastebin.com/bXNB8rZk
-- I suggest cntrl+f Jellyfin, it's a ton of logs.


Here's my Jellyfin docker run:
https://pastebin.com/cEEjwXGB




Please let me know anything else you might need to help.


RE: OOM Errors related to Jellyfin - TheDreadPirate - 2025-02-10

Can you check if this environment variable is set?

Code:
MALLOC_TRIM_THRESHOLD_=131072

On the command line you'd use this command to see all of a container's environment variables.

Code:
docker exec -it jellyfin env



RE: OOM Errors related to Jellyfin - RoyalFaceMelter - 2025-02-10

(2025-02-10, 01:38 PM)TheDreadPirate Wrote: Can you check if this environment variable is set?

Code:
MALLOC_TRIM_THRESHOLD_=131072

On the command line you'd use this command to see all of a container's environment variables.

Code:
docker exec -it jellyfin env

I don't see the MALLOC_TRIM,

Here is the output of the command you provided:


docker exec -it jellyfin envĀ 

PATH=/1siopy/bin/usr/local/sbin/usr/local/bin/usr/sb
HOSTNAME=7f7f8b3441ce
TERM=xterm
HOST_HOSTNAME=HomeServer HOST_CONTAINERNAME=jellyfin
JELLYFIN_PublishedServerUrl=http://192.168.1.130:8096
PUID=99
PGID=100
UMASK=022
TZ=America/Chicago
HOST_OS=Unraid
HOME /root
LANGUAGE=en_US.UTF-8
LANG=en_US.UTF-8
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0
S6_VERBOSITY=1
S6_STAGE2_HOOK=/docker-mods
VIRTUAL_ENV=/lsiopy
LSIO_FIRST_PARTY=true
NVIDIA_DRIVER_CAPABILITIES=compute,video,utility


RE: OOM Errors related to Jellyfin - TheDreadPirate - 2025-02-11

Set the environment variable "MALLOC_TRIM_THRESHOLD_" (including the underscore at the end) with a value of 131072.