This is getting ridiculous… Plex has been thrashing my NAS, SSD’s, and CPU for months with this error message –
[Req#3e6e312/Transcode/d18b2a71-01af-4c41-be89-b47c9106c023/6cb25dc6-7931-4bdb-b220-0090ef0145a8] Error while decoding stream #0:1: No space left on device
I have all forms of transcoding disabled and it’s definitely not a storage issue, yet the problem still occurs. There are no active streams and the errors start spewing a few minutes after service restart. I’d toss Plex entirely if it weren’t for PlexAmp, but even that is barely usable with a consistent 80% CPU usage. Any ideas on how to address the problem?
I have no idea what it’s trying to transcode. As I said, there are no active streams and all transcoding is disabled. The directory in the error message is empty, so I have no real way of identifying what file it’s hung up on without installing a bunch of forensic tools. I’m also well beyond 1.30.1.6562 and running 1.32.6.7557 and it’s also been going on for months through various upgrades (and even trying beta versions).
Unfortunately, it looks like the Plex Transcoder goes into a recursive loop if it comes across a corrupt file and the log files only display the process hash, along with a confusing (and probably incorrect) error message. This was occurring during the “Detect Intros” job, but the “Activity” window in the web interface was showing the prior job, “Detecting Loudness” in my case, making it even more challenging to identify what was really going on. Here was my solution to the problem.
Identify which file is causing the error (using /path/filename.ext as an example) –
[matroska,webm @ 0x55ca47547680] Element at 0x400f89f6 ending at 0x3a1a5d01b exceeds containing master element ending at 0x401742b4
Error while decoding stream #0:1: Invalid data found when processing input
Last message repeated 2 times
/path/filename.ext: Stale file handle
Last message repeated 4 times
Remove or replace the offending file. Once deleted, Plex should move on. You could also try extracting and remuxing the audio and video streams if the file is critical, but I’ll leave that up to the reader to Google how to do that with ffmpeg.