Plex transcoding set to /tmp?

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,038
Hi,

I have the jails set to a dedicated SSD drive. I installed Plex and I want to set the transcoder temporary directory to /tmp (which is actually a ramdisk), to avoid constant writes to jails SSD. Are the SEMDmp files listed the transcoded files? I just want to make sure /tmp is actually used for transcoding.

Screen Shot 2020-07-01 at 3.32.13 PM.png


Screen Shot 2020-07-01 at 3.24.35 PM.png


Screen Shot 2020-07-01 at 3.15.16 PM.png
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Are the SEMDmp files listed the transcoded files?

No, Plex will create a Transcode folder within the transcode temporary directory, and all its temporary files will be in Transcode/Sessions.
 

Daisuke

Contributor
Joined
Jun 23, 2011
Messages
1,038
Thanks, I see where is the problem. To fix it, I created a passwordless nologin plex user:
Code:
root@nas[~]# id -P plex
plex:*:972:0::0:0:plex user:/nonexistent:/usr/sbin/nologin

Screen Shot 2020-07-01 at 5.23.39 PM.png


And set a jail mount point to /var/tmp:

Screen Shot 2020-07-01 at 4.44.51 PM.png


Now I get the transcoded files stored into ramdisk:
Code:
root@nas[~]# ls -lah /var/tmp/Transcode/Sessions
total 10
drwxr-xr-x  3 plex  wheel    64B Jul  1 17:16 .
drwxr-xr-x  3 plex  wheel    64B Jul  1 17:07 ..
drwxr-xr-x  2 plex  wheel   9.8K Jul  1 17:25 plex-transcode-dj37z497gxkqbtomortine7v-e047d3e7-1695-4857-8996-47721a2b5a8d

I used /mnt/services/iocage/jails/plex/root/var/tmp because it was an empty directory, instead of /mnt/services/iocage/jails/plex/root/tmp.

I've set into Plex the /var/tmp directory for transcoder:

Screen Shot 2020-07-14 at 12.29.17 AM.png
 
Last edited:
Top