mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-24 07:30:57 +01:00
[10.11.3] Reoccurring freezes/crashes while transcoding #7828
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#7828
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @v3DJG6GL on GitHub (Nov 24, 2025).
This issue respects the following points:
Description of the bug
I really hoped that my reoccurring freezes/crashes of Jellyfin would be resolved by the latest Jellyfin 10.11.X with the new LockingBehavior options. However, I still have issues freezes/crashes while users are streaming content from my Jellyfin Server - mainly if the content has to be transcoded. I'll try to describe it as detailed as possible:
Next my Jellyfin instance is responding with an HTTP error 404 message. After about a minute, Jellyfin is reachable again.UPDATE: This is due to Liveness probes failing, causing a restart of the Jellyfin container.
Notes:
Reproduction steps
This issue happens on random occasions, currently about once per week. Sometimes I had no issues for 2 months, sometimes it happens two or three times within a week.
UPDATE: I am not sure anymore whether this is the same issue I was facing over the last months
I cannot really tell how to replicate this issue. But it only happens if users are actively streaming content from specific series (and probably movies) that has to be transcoded.
UPDATE: Additionally, it seems to be related with HTML Video Player as explained in https://github.com/jellyfin/jellyfin/issues/15628#issuecomment-3617447010
What is the current bug behavior?
Jellyfin gets super slow, streams are stuttering and then finally Jellyfin
responds with a HTTP 404 erroris so slow that I have to restart the container.What is the expected correct behavior?
Jellyfin should not crash ;)
Jellyfin Server version
10.11.3
10.11.4
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
10.11.3
10.11.4
Environment
Jellyfin logs
These logs are from shortly before and after such a crash
Jellyfin-2025-11-24_21-21.log
FFmpeg logs
These logs are from shortly before and after such a crash
FFmpeg.Transcode-2025-11-24_21-18-09_f70766f051a09678c0c90958f85965a2_dc5f2cfc.log
FFmpeg.Transcode-2025-11-24_21-18-14_f70766f051a09678c0c90958f85965a2_ef690bd4.log
FFmpeg.Transcode-2025-11-24_21-17-41_f70766f051a09678c0c90958f85965a2_1ee88018.log
FFmpeg.Transcode-2025-11-24_21-14-02_f70766f051a09678c0c90958f85965a2_32697826.log
FFmpeg.Transcode-2025-11-24_21-13-57_f70766f051a09678c0c90958f85965a2_5cdc1428.log
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@v3DJG6GL commented on GitHub (Nov 25, 2025):
OK, I was just able to reproduce this error with debug logging activated.
It happened with the same show it happened yesterday, although not the same episode. Yesterday the user reported stuttering while playing Episode 2. I was able to reproduce it with Episode 1:
Timeline
~16:39: Streaming started
~16:42: HTTP error 404 occured
~Approx 16:43 Reachable again
~16:44: Streaming started
~16:51: HTTP error 404 occured
~16:51:45: Reachable again
Jellyfin logs:
log_20251125.tar.gz
FFmpeg logfiles:
the FFmpeg logfiles concerning show Valeria are these two:
FFmpeg.Transcode-2025-11-25_16-39-29_e81b9215442e780badbbbb13fb00d724_fc455ef1.log
FFmpeg.DirectStream-2025-11-25_16-43-27_e81b9215442e780badbbbb13fb00d724_44def6b9.log
Other FFmpeg logfiles:
FFmpeg.Transcode-2025-11-25_16-38-53_869297720cb22c8365866b901f468557_26219c41.log
FFmpeg.Transcode-2025-11-25_16-38-58_869297720cb22c8365866b901f468557_3f0ee749.log
Directory:
MediaInfo:
@v3DJG6GL commented on GitHub (Nov 25, 2025):
In case it helps:
here is another crash I was able to reproduce with the same episode:
Timeline:
~18:12:25 Streaming started
~18:17:15: HTTP error 404
~18:18:30: Reachable again
Jellyfin logs:
log_20251125_180800.tar.gz
FFmpeg logfiles:
FFmpeg.Transcode-2025-11-25_18-12-28_e81b9215442e780badbbbb13fb00d724_4bfd72aa.log
FFmpeg.DirectStream-2025-11-25_18-13-37_e81b9215442e780badbbbb13fb00d724_5a81d510.log
FFmpeg.Transcode-2025-11-25_18-12-23_e81b9215442e780badbbbb13fb00d724_027d39fd.log
FFmpeg.DirectStream-2025-11-25_18-13-36_e81b9215442e780badbbbb13fb00d724_bbbce852.log
@v3DJG6GL commented on GitHub (Nov 25, 2025):
Okay, another update:
I was able to reproduce the issue again with the same episode:
Timeline:
Hardware acceleration enabled (Nvidia NVENC):
~20:10:50: Streaming started
~20:14:00: Jellyfin is getting super slow
~20:18:30: I closed the tab containing the Stream. Shortly after, Jellyfin was responsive again.
Hardware acceleration disabled (CPU decoding/encoding):
~22:47:40: Streaming started
~22:49:00: Jellyfin is getting super slow
~22:50: I closed the tab containing the Stream. Shortly after, Jellyfin was responsive again.
Jellyfin logs: Streaming started
Hardware acceleration enabled (Nvidia NVENC):
log_20251125_200800.tar.gz
Hardware acceleration disabled (CPU decoding/encoding):
log_20251125_224100.tar.gz
FFmpeg logs:
Hardware acceleration enabled (Nvidia NVENC):
FFmpeg.Transcode-2025-11-25_20-10-53_b61e274c82640fa7616a1815aa611691_c1db013f.log
Hardware acceleration disabled (CPU decoding/encoding):
FFmpeg.Transcode-2025-11-25_22-47-33_b61e274c82640fa7616a1815aa611691_3e1aa789.log
FFmpeg.Transcode-2025-11-25_22-47-26_b61e274c82640fa7616a1815aa611691_5a74f789.log
Additional Notes:
@HammyHavoc commented on GitHub (Nov 25, 2025):
Out of curiosity, what file system are you using?
@v3DJG6GL commented on GitHub (Nov 25, 2025):
ZFS (RAIDZ2)
@HammyHavoc commented on GitHub (Nov 25, 2025):
Also on ZFS at my end and been digging into potential issues today.
I've been fiddling about with the value of
md_num_stripes,vm.dirty_background_ratioandvm.dirty_ratioin Unraid.I'm not saying I've solved anything (still issues with crashing and scanning the library at a certain percentage, and a server-perf-hurting resource spike from Jellyfin before the Jellyfin Docker container crashes, at least once per day), but I am seeing much better performance overall.
Will keep digging too! Please keep documenting as you have been.
@v3DJG6GL commented on GitHub (Dec 5, 2025):
Some more findings:
I tried to remove on of the series - Valeria - that causes the issue and run into the issue described at #15658.
After manually removing the episodes entries from jellyfin.db, I was able to remove the series entry with Jellyfin. After moving the series back to library folders, jellyfin correctly imported the series again. And also moving the series around inside library directories works: orphaned series entry is correctly deleted from jellyfin, new location is correctly imported.
However, I am still facing the same issue freezing/crashing when trying to play episodes with transcode enabled.
BUT: I got aware that it really depends on the client who you use:
If I use Jellyfin Web (HTML Video Player) I am facing the freezing/crashing issue.
If I use Jellyfin Android with Video Player Type set to Web Player (Jellyfin Settings --> Client Settings --> Video Player Type --> HTML Video Player) I am also facing the freezing/crashing issue.
If I use Jellyfin Android with Video Player Type set to Integrated Player (Jellyfin Settings --> Client Settings --> Video Player Type --> ExoPlayer) I am NOT facing the freezing/crashing issue!
I even remuxed/transcoded S01E01:
I now tried once again to play the transcoded episode with the new findings I did before:
Reason for transcode is always
@v3DJG6GL commented on GitHub (Dec 7, 2025):
Another Update:
I even retried it with a complete different release.
The issue, however, is still the same: Transcoding leads to freezes/crashes of Jellyfin server, but only if Jellyfin Web is used for playback (HTML Video Player), or Jellyfin Android with Web Player selected (Jellyfin Settings --> Client Settings --> Video Player Type --> HTML Video Player)
The issue persists even with other Playback settings: Even Direct Streaming leads to freezes/crashes of Jellyfin Server:
As soon as I use the Integrated Player (Jellyfin Settings --> Client Settings --> Video Player Type --> ExoPlayer) I am NOT facing the freezing/crashing issue when transcoding the episode!
Here's the MediaInfo for the episode:
@v3DJG6GL commented on GitHub (Dec 10, 2025):
Since this issue occurs when HTML Video Player is involved, I logged Console Output from my browser when playing a specific episode causing this issue
console-export-2025-12-10_20-9-54.log