Plex: Guide to Moving Transcoding to RAM


Recommended Posts

On 10/13/2022 at 6:37 PM, Hoopster said:

...I have this in my go file to limit transcoding to 16GB and to recreate the folder in RAM on reboot:

mkdir /tmp/PlexRamScratch
chmod -R 777 /tmp/PlexRamScratch
mount -t tmpfs -o size=16g tmpfs /tmp/PlexRamScratch

With this, the mapping in the Plex docker container is /transcode to /tmp/PlexRamScratch

 

This forces Plex to reclaim space by deleting older transcoded bits that have already played rather than just waiting to delete them all when the entire transcode finishes.

 

For those who may not realize, for this to work, the PLEX container must be mapped like this:

 

 

 

transcode.thumb.png.61fa8f285a018899f187e434327f70cc.png

 

 

 

craigr

Edited by craigr
clarity
  • Like 1
Link to comment
15 hours ago, craigr said:

 

For those who may not realize, for this to work, the PLEX container must be mapped like this:

 

 

 

transcode.thumb.png.61fa8f285a018899f187e434327f70cc.png

 

 

 

craigr


you can also accomplish this within Plex server settings specify the transcode directory to be /transcode/PlexRamScratch instead of it being /transcode 

Edited by tmchow
  • Like 1
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.