2025-05-31, 07:32 AM
Hi all,
Just wanted to share how I solved my problem of 4k video transcodes freezing after 10-30min of playback.
Setup:
- Good old spinning HDDs for storage + 500 gb SSD for temporary and app data.
- Jellyfin server running as docker container on Unraid.
Problem:
Turned out that the Jellyfin app template from Unraid Community Applications directory does *not* specify a path for Jellyfins /cache directory. This means all cache data, including transcode data, ends up on the HDD - often the same one being read from. Most spinning HDDs can't sustain the read + write load of a 4k to 4k transcode. Much less if you do several at the same time.
Solution:
1) In the Jellyfin docker template, add a Path with Container path being /cache and the Host path being on a share on your SSD, e.g. /mnt/user/appdata/jellyfin-cache/
2) In Jellyfin settings, make sure that General cache directory points to /cache and Transcoding cache directory points to /cache/transcodes, as they do by default.
Just wanted to share how I solved my problem of 4k video transcodes freezing after 10-30min of playback.
Setup:
- Good old spinning HDDs for storage + 500 gb SSD for temporary and app data.
- Jellyfin server running as docker container on Unraid.
Problem:
Turned out that the Jellyfin app template from Unraid Community Applications directory does *not* specify a path for Jellyfins /cache directory. This means all cache data, including transcode data, ends up on the HDD - often the same one being read from. Most spinning HDDs can't sustain the read + write load of a 4k to 4k transcode. Much less if you do several at the same time.
Solution:
1) In the Jellyfin docker template, add a Path with Container path being /cache and the Host path being on a share on your SSD, e.g. /mnt/user/appdata/jellyfin-cache/
2) In Jellyfin settings, make sure that General cache directory points to /cache and Transcoding cache directory points to /cache/transcodes, as they do by default.