Server Version#: Latest (1.30.1.6562)
Player Version#: AppleTV (latest)
Tuner Make/Model: HDHomerun Prime
Guide/Lineup name: N/A
Using XMLTV?: N/A
Channel number/Name: N/A
I’ve got a relatively complex setup, but in short I have a Proxmox VM running Ubuntu and within that I have the Plex Docker image running PMS. I pass through an NVidia Tesla P4 for HW transcoding, and that works well. Media files are stored in another VM running TrueNAS Scale, but that isn’t relevant.
I’ve been having issues with the transcode temp directory. In the past, I passed through a NAS folder for this, but I think b/c of it being attached via the LAN, the performance was quite flaky. My VM disks are all on SSD and I really don’t want to destroy those by using them for transcode data.
SOOO, I decided to pass through /dev/shm (tempfs…i.e., ramdisk). I have 32GB RAM allocated to the VM, so 16GB is available to /dev/shm. I pass through this folder as “/transcode” to the Plex docker container, and this is what I see from a console inside:
Filesystem Size Used Avail Use% Mounted on
tmpfs 16G 0 16G 0% /transcode
Totally cool. All is good. I see that and /dev/shm on the host filling up over time as I stream TV. Things are pretty peppy. BUT after a couple of hours of streaming a single channel, I get a message on the client saying I’ve run out of space.
So, I’m assuming Plex is just blindly saving an unlimited number minutes into my scrub buffer…until it can’t and then it just goes boom. I have a hard time believing it is this “naive” about this. But I can’t figure out any other reason for it failing.
Any thoughts? Is there a hidden “max scrub buffer size” setting I can tweak? Any other tips for making this setup work as it is intended?
PS - I even tried creating a dedicated transcoding tmpfs/ramdisk thinking perhaps the shared /dev/shm disk was perhaps getting used by another process and causing an issue, but I saw the same results.