2024-07-26, 01:40 PM
(This post was last modified: 2024-07-26, 01:43 PM by TheDreadPirate. Edited 1 time in total.)
Are you able to break out the processes running in the container? Is there a library scan in progress? Trickplays being generated? Either can spawn a lot of ffmpeg processes and consume memory.
In LSIO's image for 10.8.13 there was an issue where it did not honor the limit on the number of ffmpeg processes it can spawn when doing library scans/chapter image extraction. In my testing it spawned up to 200 ffmpeg processes and used 15GB of RAM. Like reserved RAM, not cache. I'm not sure if that also true for their 10.9 image.
Also, can you list out the docker environment variables for the jellyfin container? Do you have this env variable set?
MALLOC_TRIM_THRESHOLD_=131072
In LSIO's image for 10.8.13 there was an issue where it did not honor the limit on the number of ffmpeg processes it can spawn when doing library scans/chapter image extraction. In my testing it spawned up to 200 ffmpeg processes and used 15GB of RAM. Like reserved RAM, not cache. I'm not sure if that also true for their 10.9 image.
Also, can you list out the docker environment variables for the jellyfin container? Do you have this env variable set?
MALLOC_TRIM_THRESHOLD_=131072