Plex has been incredible to use, but just the other day it all of the sudden started to error whenever a movie or tv show needed to be transocded. I’ve come to realize that this error shows up whenever I try to transcode media with an audio codec of TrueHD. I am not sure what’s going on, and I have tried various ways of fixing it, but to no avail. I have deleted and replaced the codec file. I’ve even completed deleted the container and re-downloaded it which was a huge pain, but nothing. Lastly I tried increasing the number of directories via these steps (link here).
If there is another reason as to why this is happening I’m all ears.
So I’ve realized that I have a drive within my array that has an error. The media I’m watching that isn’t on that drive seems to work perfectly fine with the same audio codec. It looks like it’s my drive may be failing. I’ll swap it out with a healthy one and see if that fixes my issue!
Update: I replaced my bad drive with a healthy one and it unfortunately still isn’t working. That same error will show up and then a minute later the audio goes and then the video completely stops playing. I’m not really sure what’s going on, but some insight would be really appreciated.
I’ll be honest. This may as well be another language because I have no idea what any of it means Could you elaborate for me to help me understand? Also, thank you for your help, I really appreciate it!
I looked into the tmp folder and I don’t see how it could be full. It has some files in there that are only Byte sized, and it says I still have 302GB free. I feel like we’re so close to figuring this out!
I found another /tmp folder that I think is most likely being used because in my Plex container I have the file path as just /tmp which is what this folder contains:
I must apologize. I forgot about the inotify table.
Do you have a lot of music or photos? Of specific importance here -
Do you use a lot of directories for all of your media (movies, episodes, music, photos) ??
While newer linux kernels have default table size of 65536 directories, the previous generation of kernels had a default size of 8192.
This is significant when using Dolby EAE because the transcoder requires 2 notify slots to talk to it.
If your notify table is full, there’s nothing left to allocate to the EAE/Transcode session.
As it tries to do this, it will also say “no space left on device”.
You can also see this message at PMS start if the table fills when it completes loading the Notify table.
I deleted the files in the “Codecs” directory except for .device_id (Plex was stopped prior to this), then I started Plex back up and it still errored with the same errors.