squirrellydw Posted September 21, 2016 Share Posted September 21, 2016 I found this and have a questions. Why does my docker.img file keep filling up while using Plex? April 2016: recent versions of Plex (0.9.16.3, maybe earlier) transcode to the config directory by default, so there is no need to make the changes described below. If you have already configured your plex with a custom transcode directory that is fine, it will not hurt anything. Regardless of which Plex Docker you choose, you'll want to configure it to transcode outside of your main docker image. This will help prevent your docker image from filling up. Step 1: On the unRAID Docker settings page for Plex, add a new Volume Mapping (Read/Write). The "Container volume" should be set to "/transcode", for the "Host path"... Option 1: A good default host path would be in the appdata folder on your cache drive, i.e. if your /config directory is set to: /mnt/cache/appdata/Plex/ then the /transcode directory could be: /mnt/cache/appdata/Plex/transcode/ Option 2: If you have a lot of RAM you can save wear and tear on your cache drive by transcoding in RAM. In that case, set the /transcode host path to: /tmp Note: Since about Plex version 0.9.14, transcoding to RAM does not work. Recommend avoiding this option. Step 2: Save your changes to restart Plex, then from within Plex go to Settings -> Server -> Transcoder. Hit the "Show Advanced" button, and in the "Transcoder temporary directory" field put "/transcode" and then "Save Changes". Config Type - "Path" Name - Anything? Container Path - /transcode Host Path - /transcode Access Mode - Read/Write Is that correct? Quote Link to comment
WexfordStyle Posted September 21, 2016 Share Posted September 21, 2016 The information that you have quoted makes sense to me. However, I don't think what you have will work. See below. Config Type - "Path" Name - Anything? Container Path - /transcode Host Path - /mnt/appdata/plexmediaserver/transcode Access Mode - Read/Write The "Host Path" needs to be an actual location in your server file structure. As you can see in the example above, I have mapped the /transcode path of the docker to /mnt/appdata/plexmediaserver/transcode on my cache drive. Once this is completed, you will have to go into the plex server settings and update it with the transcode path. This can be found in Settings --> Server --> Transcode --> Transcode Temporary Directory. Put here whatever you have listed for Container Path, which in this case is /transcode. Hope this helps. Quote Link to comment
mbicca Posted February 15, 2017 Share Posted February 15, 2017 Hi Guys, I think the easiest way to do this and to make sure it works is: 1) Login using SSH to your Unraid server > ssh root@unraid(IP) 2) mkdir /ramdisk 3) mount -t tmpfs -o size=1024m tmpfs /mnt/ramdisk 4) This will create a 1G /ramdisk 5) Set Plex set to container (/transcode) host (/ramdisk) 6) Change Plex settings to /transcode 7) Be happy .. you can actually go inside the folder too: cd /ramdisk, start a movie and do a couple of ls or df -h and you will see that being used. Enjoy! -Marco 1 Quote Link to comment
testdasi Posted February 15, 2017 Share Posted February 15, 2017 But if the /config is already mapped to appdata then wouldn't this be redundant? I have used Plex for a while and never had any issue with docker image filled up. :confused.com: Quote Link to comment
phbigred Posted February 17, 2017 Share Posted February 17, 2017 Could also be their metadata for your library is causing the ballooning. Also one thing I do is lower the logging level using extra parameters in the docker. --log-opt max-size=50m --log-opt max-file=1 Put the setting in and rebuild your docker image and it should help if it's a logging balloon. Quote Link to comment
trurl Posted February 17, 2017 Share Posted February 17, 2017 ... 2) mkdir /ramdisk 3) mount -t tmpfs -o size=1024m tmpfs /mnt/ramdisk ... You posted this before (in fact, it is your only other post to the forum). Are you sure you have this right? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.