Transcoding stops

For a couple of months now, my Plex users have complained about “disconnects”. They would watch a show or movie, and it would just stop. They could then restart it, and a short while later, it would stop again. This only happens on transcoding. I wasn’t seeing the issue as I can pretty much Direct Play anything.

I have done everything I can think of, including replacing my cache drive on unRAID (which is an SSD), to see if the transcoding problem would be fixed. There is ~200GB available on that cache drive.

It happens with all clients…web, Plex Media Player, FireTV, Samsung Tizen 2016, Roku and Android phone have all seen the issue.

This also happens with all video formats. Most of my videos are HEVC, but this happens on low bitrate x264 as well.

I have waited through several versions of Plex Media Server to see if it would be fixed, but it has not.

Here are logs from a test today.

Thanks in advance for your help. Please let me know if my logs are not enough (I disabled debug) or if you have any other questions.

I am running in a Linuxserver.io Docker on unRAID 6.3.5.

@StevenDTX said:
For a couple of months now, my Plex users have complained about “disconnects”. They would watch a show or movie, and it would just stop. They could then restart it, and a short while later, it would stop again. This only happens on transcoding. I wasn’t seeing the issue as I can pretty much Direct Play anything.

I have done everything I can think of, including replacing my cache drive on unRAID (which is an SSD), to see if the transcoding problem would be fixed. There is ~200GB available on that cache drive.

It happens with all clients…web, Plex Media Player, FireTV, Samsung Tizen 2016, Roku and Android phone have all seen the issue.

This also happens with all video formats. Most of my videos are HEVC, but this happens on low bitrate x264 as well.

I have waited through several versions of Plex Media Server to see if it would be fixed, but it has not.

Here are logs from a test today.

Thanks in advance for your help. Please let me know if my logs are not enough (I disabled debug) or if you have any other questions.

How is your folder mapping setup for the transcoder folder and does it match the settings in PMS?
Its only a guess, but it might be that there is not enough space for storing the temporary transcoding files.

Debug logging is needed to start to examine the problem. Please reproduce the problem with debug logging enable (and verbose disabled) and post a fresh set of logs.

@Leifgg said:

@StevenDTX said:
For a couple of months now, my Plex users have complained about “disconnects”. They would watch a show or movie, and it would just stop. They could then restart it, and a short while later, it would stop again. This only happens on transcoding. I wasn’t seeing the issue as I can pretty much Direct Play anything.

I have done everything I can think of, including replacing my cache drive on unRAID (which is an SSD), to see if the transcoding problem would be fixed. There is ~200GB available on that cache drive.

It happens with all clients…web, Plex Media Player, FireTV, Samsung Tizen 2016, Roku and Android phone have all seen the issue.

This also happens with all video formats. Most of my videos are HEVC, but this happens on low bitrate x264 as well.

I have waited through several versions of Plex Media Server to see if it would be fixed, but it has not.

Here are logs from a test today.

Thanks in advance for your help. Please let me know if my logs are not enough (I disabled debug) or if you have any other questions.

How is your folder mapping setup for the transcoder folder and does it match the settings in PMS?
Its only a guess, but it might be that there is not enough space for storing the temporary transcoding files.

Plenty of space available (200GB+). I used to have a mapping in the Docker to a specific path, but now it is just set to default.

@gbooker02 said:
Debug logging is needed to start to examine the problem. Please reproduce the problem with debug logging enable (and verbose disabled) and post a fresh set of logs.

I will post them this afternoon. I was reading the forums and folks were saying debug logs were too much to read through, so I turned it off, then ran the test again and posted those logs.

Here are the debug logs. Thanks.

In your logs, there is a 3 minute complete blackout (12:53:09.382 - 12:56:39.245) where the server received no requests and the transcode session timeout assuming the client had disappeared. Did you have a network outage? That would certainly cause it.

BTW, on logs being too much to read through, I’d image they are talking about verbose, not debug.

More than likely, I was messing with the time service on my ESXi host around the same time, as it was not updating properly. It was ~3 minutes behind IIRC.

Certainly no network outage. My unRAID server, and my workstation are on the same 10Gb switch.

I can certainly re-run the test if you like that wont show a time jump.

This issue seems to be largely resolved. Thanks.