Jellyfin Forum
Jellyfin keeps getting shutdown due to OOM errors - 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: Jellyfin keeps getting shutdown due to OOM errors (/t-jellyfin-keeps-getting-shutdown-due-to-oom-errors)

Pages: 1 2


RE: Jellyfin keeps getting shutdown due to OOM errors - RoyalFaceMelter - 2025-01-01

(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


RE: Jellyfin keeps getting shutdown due to OOM errors - TheDreadPirate - 2025-01-01

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.


RE: Jellyfin keeps getting shutdown due to OOM errors - RoyalFaceMelter - 2025-01-01

(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.


RE: Jellyfin keeps getting shutdown due to OOM errors - RoyalFaceMelter - 2025-01-04

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


RE: Jellyfin keeps getting shutdown due to OOM errors - TheDreadPirate - 2025-01-04

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.