High System load on Subtitile transcode

Server Version#: 1.15.4.919
Player Version#: Web Player 3.83.1

I am running Plex in a docker container on an unraid System with Hardware Acceleration enabled.
None of the Video files cause any load on my System and I’ve been noticing some strange load which increased over time.

On netdata, this load is shown as System load
image

After identifiying when this happens, I noticed that first of all, at this time there is no transcoding in place
image

but what I noticed is the transcoding of the subtitles which seem to cause the issue.

For this issue to happen, the transcoding must be enabled and no subtitles must be in the next chunk of allowed pretranscode timeframe. I have set mine to 120 seconds.

If I start the same movie in a chunk, where subtitles are actually beeing transcoded, no load is seen on the server.

The logs don’t show any of this, but I’ll attach them anyway.
Plex Media Server Logs_2019-04-19_07-46-00.zip (1.9 MB)

The only indicator that I could find is:
If there are sub-chunk- in the transcoding session folder, no load is present
If there are none, the load will increase over time.

With increase over time I mean, consume 1 thread 100%, then another and at some point my System is at 100% load on each core.

Verbose loggins shows more insight into the issue, but I won’t post them for now.

As soon as the high load occures, I see this in the verbose logs
[TranscodeOutputStream] Waiting 100ms for more data…

The issue seems to be related to an initial start at the beginning. Also on some of my tests it also happened when subtitles are burned into the transcoded file.

Whatever it is, it only happens when subtitles are enabled and the file is started at the beginning.

If I jump in the file or start in the middle, the high load is not present anymore.

Updated to 1.15.5.994 and the problem still persists.
Told users on my System to disable subtitles as a workaround, but it is a manual task as forced subtitles are enabled by default and if those are transcoded, I again see that high load on my server.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.