megaembyusers 0 Posted March 22, 2017 Posted March 22, 2017 ive noticed after a day or so use my /tmp folder is full, the largest files being what looks like emby transcode files. ive already given emby a transcode folder which it does use. why is it using /tmp ? it always breaks live tv when it does this. this is what i see with df -h /dev/loop0 3.4G 3.4G 0 100% /tmp/Emby/bd5f4320-ae28-4fb0-806c-332765bcc4fc
trifleneurotic 63 Posted March 22, 2017 Posted March 22, 2017 Is this using Docker? What versions of Emby/Mono and what operating system?
sscheib 11 Posted April 19, 2017 Posted April 19, 2017 I've noticed as well that emby doesn't clear out old transcoding files. To work around this you can add a cronjob (which I did) to remove ts and m3u8 files older than 1 day. # remove temporary transcoding files older than 1 day 0 3 * * * /usr/bin/find /opt/emby/transcoding-temp/ -type f -regextype posix-extended -regex ".*\.(ts|m3u8)" -mtime +1 -exec rm {} \; &> /dev/null @@Luke The same happens by the way for transcoding logs and the server log itself (both in /var/lib/emby-server/logs). I simply remove all files from the log directory every two hours. I saw it was growing exorbitant fast when for example subtitle fetching fails for episodes or movies. In my case the server log grew up to around 4GB .. Here is the cronjob if anybody wants to work around the same way: # remove emby log files 0 */2 * * * /bin/rm /var/lib/emby-server/logs/* &> /dev/null Regards, Steffen
Luke 42078 Posted April 19, 2017 Posted April 19, 2017 Transcode temp files are removed after playback has stopped, and also periodically once a day. Log files that are older than 3 days are also automatically deleted.
sscheib 11 Posted April 19, 2017 Posted April 19, 2017 Does it also get removed if the playback hasn't stopped and emby gets shutdown in the meanwhile and restarted again, so it doesnt even know about the transcoding files? Or do you check for them on startup/periodically? For the log files: Yes, I noticed that, but in my case it just blew up that directory within a couple of hours due to opensubitle beeing unavailable at that moment.
Luke 42078 Posted April 20, 2017 Posted April 20, 2017 yes, transcoding temp is cleared on startup as well.
mvanIII 1 Posted January 21, 2023 Posted January 21, 2023 I found this old post via search as I'm having the same trouble described by @megaembyusers. I'm running emby Version 4.7.10.0 as a Docker container. I play media from a web browser and also Roku. The contents of my `transcoding-temp` directory: drwxr-xr-x 2 emby emby 4096 Jan 9 11:21 E9939D/ drwxr-xr-x 2 emby emby 4096 Jan 14 17:43 842EE1/ drwxr-xr-x 2 emby emby 4096 Jan 14 17:43 1FB37B/ drwxr-xr-x 2 emby emby 4096 Jan 14 17:43 12FDBB/ drwxr-xr-x 2 emby emby 4096 Jan 15 06:48 FD94DF/ drwxr-xr-x 2 emby emby 69632 Jan 20 20:37 F66113/ drwxr-xr-x 2 emby emby 73728 Jan 20 21:01 49986D/ drwxr-xr-x 2 emby emby 69632 Jan 20 21:12 1C46CE/ Today is Jan 21. Based on what's discussed above I would've expected the Jan 9, 14 and possiby Jan 15 to have been removed. Where is the task in emby? I don't see anything that applies to cleaning transcoding...
Luke 42078 Posted January 22, 2023 Posted January 22, 2023 22 hours ago, mvanIII said: I found this old post via search as I'm having the same trouble described by @megaembyusers. I'm running emby Version 4.7.10.0 as a Docker container. I play media from a web browser and also Roku. The contents of my `transcoding-temp` directory: drwxr-xr-x 2 emby emby 4096 Jan 9 11:21 E9939D/ drwxr-xr-x 2 emby emby 4096 Jan 14 17:43 842EE1/ drwxr-xr-x 2 emby emby 4096 Jan 14 17:43 1FB37B/ drwxr-xr-x 2 emby emby 4096 Jan 14 17:43 12FDBB/ drwxr-xr-x 2 emby emby 4096 Jan 15 06:48 FD94DF/ drwxr-xr-x 2 emby emby 69632 Jan 20 20:37 F66113/ drwxr-xr-x 2 emby emby 73728 Jan 20 21:01 49986D/ drwxr-xr-x 2 emby emby 69632 Jan 20 21:12 1C46CE/ Today is Jan 21. Based on what's discussed above I would've expected the Jan 9, 14 and possiby Jan 15 to have been removed. Where is the task in emby? I don't see anything that applies to cleaning transcoding... Hi, it happens automatically, so there is no task needed.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now