I noticed my home servers SSD running out of space and it ended up being my Jellyfin Docker container which wasn’t clearing the directory for transcodes in /var/lib/jellyfin/transcodes correctly.

I simply created a new directory on my media hard drive and bind mounted the above mentioned directory to it. Now Jellyfin got over 1 TB of free space to theoretically clutter. To prevent this I simply created a cronjob to delete old files in case Jellyfin isn’t.

@daily /usr/bin/find /path/to/transcodes -mtime +1 -delete

Easy!

  • @[email protected]
    link
    fedilink
    English
    310 months ago

    You can restrict the size of the ramdisk so you do not end up killing processes. A large amount of ram is not mandatory.

    • @agent_flounder
      link
      English
      19 months ago

      Good to know. Well I have 16G now that should give me plenty to spare.