SOLVED: Server becomes unresponsive when transcoding for my phone - 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: SOLVED: Server becomes unresponsive when transcoding for my phone (/t-solved-server-becomes-unresponsive-when-transcoding-for-my-phone) Pages:
1
2
|
RE: Server becomes unresponsive when transcoding for my phone - magguzu - 2024-10-04 Yes,and I also tried with the English (also AAC) track without subtitles. I've been testing a bunch of different combinations of media today actually. Other videos in HEVC but not AAC, h264 but AAC, with and without SSA subtitles, etc. Mysteriously, it's only One Piece with the issue. I've tried other media that's as close as I can find. I even tried another One Piece episode, sourced elsewhere from the one in the issue, that's in h264. It gave the same problem. Over 5-10 min of playing, the server gets slower and slower until it's unusable. I'm not even sure it's hardware anymore, as the other services on my server actually continue working fine, and even though the CPU does spike somewhat, it's still just 60%ish. But at the same time, another show that's also MKV, in HEVC, has SSA subs, and AAC audio, plays normally (transcoding just for the container, like One Piece). Those codecs and containers all match the One Piece episode my logs above have been from. Worth noting I originally said this happened on my phone, but it seems to be anywhere where One Piece needs to transcode. It's just normally direct playing or remuxing on my other devices so, not a problem. The only thing I can think of that makes One Piece unique (and I'm REALLY reaching here) is that I have its metadata set to absolute, and with four digit episode numbers (e.g. S17E0629) because JF wasn't getting metadata correctly the default way. RE: Server becomes unresponsive when transcoding for my phone - magguzu - 2024-10-04 Strange, to prevent my Jellyfin being down much longer for my family, I copied my whole directory to make a "dev" instance and now I can't reproduce the issue in my dev instance. I'll keep trying to narrow this further. RE: Server becomes unresponsive when transcoding for my phone - TheDreadPirate - 2024-10-04 Maybe your database is borked. Did the disk with the database fill up at any point recently? RE: Server becomes unresponsive when transcoding for my phone - magguzu - 2024-10-05 Not recently, but this deployment is migrated from an old machine that regularly ran out of space. If it means anything, I had One Piece in the library back when JF was on that machine. I'm not against a rebuild at this point, if that's a potential culprit? I have had other strange database behavior in the past. RE: Server becomes unresponsive when transcoding for my phone - TheDreadPirate - 2024-10-05 Since the clean install worked as expected, I'm thinking something just isn't right with your existing database(s). Might be time to start clean. RE: Server becomes unresponsive when transcoding for my phone - magguzu - 2024-10-06 Oh sorry, it wasn't a clean install, it was a complete copy of the existing directory, including the database. I have a few things I'm going to try to test later today, namely shutting off everything that might connect to Jellyfin (jellyplex, jellystat, etc), and setting all DNS to default rather than my Pihole. In the meantime, I just recreated the issue again, and this time I'm seeing a lot of MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor activity at the end. What's being extracted here? It's the episode I was watching: https://pastebin.com/wGqSXaZv Also a bunch of:
and one instance of
2.DisposeConnection(ValueTuple3 connection)
RE: Server becomes unresponsive when transcoding for my phone - TheDreadPirate - 2024-10-06 You can try recreating the current container. Assuming that something within the temporary portion of Jellyfin is borked for some reason. docker compose down jellyfin docker system prune -a docker compose up -d jellyfin RE: Server becomes unresponsive when transcoding for my phone - magguzu - 2024-10-10 I did the above (though this has occurred since before upgrading from another container too), I also turned off Jellyplex and Jellystat, and reinstalled Jellyfin for Android (been using the F-Droid version, FWIW). I also removed the query limit on my Pi-Hole, and removed the YouTube mount that I wasn't using anymore. It's only been a couple days and I haven't done heavy testing like before, but I haven't seen the issue return yet. Other things I want to try if I see the issue return: * Transcode to RAM (minimize writes while DB is being written to? I'm trying anything at this point) * Disable webhook plugin RE: Server becomes unresponsive when transcoding for my phone - TheDreadPirate - 2024-10-10 Transcoding to RAM requires a pretty intimate understanding of how transcoding works in jellyfin, how big your original source videos are, etc. Not recommended for the faint of heart. RE: Server becomes unresponsive when transcoding for my phone - magguzu - 2024-10-18 This issue seems to not be returning anymore. I can't say for absolute certain, but I think disabling the font mapping might have been the fix. I hugely appreciate the help! |