Server becomes unresponsive after a while during ffmpeg AttachmentExtractor task - 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: Server becomes unresponsive after a while during ffmpeg AttachmentExtractor task (/t-server-becomes-unresponsive-after-a-while-during-ffmpeg-attachmentextractor-task) |
Server becomes unresponsive after a while during ffmpeg AttachmentExtractor task - magguzu - 2024-11-05 This is a follow up to this issue I thought was resolved but seems to be back: https://forum.jellyfin.org/t-solved-server-becomes-unresponsive-when-transcoding-for-my-phone (ignore the "for my phone" part; I've since narrowed this further to all web). This seems to kind of randomly occur when playing content with SSA/ASS subtitles from the web or web-wrapper apps like Android. Around midway through playback, it just freezes and the server becomes almost completely unresponsive until I restart the docker container. In the instances I've seen, the server has been either transcoding for reason "container not supported" or remuxing (which I thought was the same thing but that's what the server says). I always see it occur after first MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder , then MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor task. I took a look at the classes and with my very limited understanding, it seems to be related to extracting the SSA subtitles? That would track with all the occurrences of this I've seen.https://github.com/jellyfin/jellyfin/blob/master/MediaBrowser.MediaEncoding/Subtitles/SubtitleEncoder.cs https://github.com/jellyfin/jellyfin/blob/master/MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs Here's the full log: https://pastebin.com/Nk6ZFHSR Server and web are 10.10.1. Here's the compose:
RE: Server becomes unresponsive after a while during ffmpeg AttachmentExtractor task - TheDreadPirate - 2024-11-05 What are the specs of the server? It looks like it is extracting the subs, dumping the attachments, then remuxing. So, other than disk space, it should be a pretty light load on the server. RE: Server becomes unresponsive after a while during ffmpeg AttachmentExtractor task - magguzu - 2024-11-05 Ubuntu 24.04 on a Proxmox VM 24GB RAM 12 vCPUs assigned to the VM. GPU is the UHD 770 iGPU in my Intel 13th gen CPU. Agreed it should be very light. It handles everything else very fast. This one particular task just seems to choke it. One little thing I changed since posting this is I set user: "1000:1000" in the compose file since the config directory had some mixed permissions between root and the 1000 user. It's writing these extracted attachments to config so.. :shrug:
RE: Server becomes unresponsive after a while during ffmpeg AttachmentExtractor task - TheDreadPirate - 2024-11-05 If you changed the container's runtime user, make sure you recursively chown /config. Please update us whether or not that was the fix. RE: Server becomes unresponsive after a while during ffmpeg AttachmentExtractor task - magguzu - 2024-11-07 Issue is still occuring. I just reproduced. The video was remuxing this time. The permissions were all changed to the 1000 user, and the render and video groups were corrected as they were previously wrong (thanks again for your help on Discord) https://pastebin.com/J0RUhATP |