Jump to content

transcoding temp directory


Go to solution Solved by cookem,

Recommended Posts

Posted

ever since emby upgraded to 4.3.1 my transcoding-temp directory seems to just grow out of control until i need to stop the server and delete the folder because it has reached 700 to 800GB.  is there something i can do to get the folder to clean up the old files or limit the size of it?

Happy2Play
Posted

First is figuring out why item are not being removed automatically when the media is stopped properly.  Or if it is from say another process. 

 

But restarting your server does clear this folder.

Posted (edited)

restarting does not clear it.......i have to manually delete the folder.

 

I am using emby with hdhomeun primes and roku as the client.

Edited by cookem
Happy2Play
Posted

We may need to see a server log then.  I can't see why a restart would not clear the folder unless they were still in use.

Posted (edited)

How are you exit the Roku application when watching these items? 

Please try to reduce your use of the HOME button when watching video using the Emby app. Do not just power off the Roku TV while playing video either. Make sure to exit the video player then press HOME or turn off the Roku TV. 

 

The server should be cleaning these up. It might be possible something is preventing their deletion. Having the server logs as suggested above would help us know if that were the case and what that something might be. Thanks. :)

Edited by speechles
Posted

If restarting the server doesn't clear it then it must be being denied access to delete the contents of the folder. I would check the permissions on it and make sure emby server can delete from it.

Posted

I tried excluding the directory in windows defender to see if that was causing some issues.

Posted

Ok let's please look at an emby server log. thanks.

WilhelmStroker
Posted

I tried excluding the directory in windows defender to see if that was causing some issues.

You could also run the handle.exe utility to see if there's anything else keeping a handle open to the files/folder.

  • Solution
Posted

It seems like excluding the path from windows defender did the trick....i don't see the directory growing out of control and if i restart the size goes to zero

  • Like 1
Posted

Thanks for the feedback !

Posted (edited)

It looks like that did not completely solve the problem. Although a restart cleared the files the directory had grown to 423GB with no devices streaming prior to the restart. I have attached the server logs.

logs.zip

Edited by cookem
Posted

@@cookem, are you able to create the situation again? It would be best to try and find out which playback scenarios caused it.

  • 2 weeks later...
Posted

My transcoding temp has grown to 1.05TB.....I have attached the latest logs

logs2.zip

Posted

What server activity was happening at the time?

Posted

According to the console there were no devices streaming when I looked at the directory size. Restarting again cleared the directory. Is there someplace else I should look?

Posted

So you have been recording and streaming to Roku is that it? How many Roku devices? When you stop playing on the Roku, how do you typically do that?

  • 2 weeks later...
Posted

I have 4 Roku devices...I also use emby theater on windows....sometimes chrome as well as emby app on android  at various times. For each Roku I have harmony hubs so when the activity ends the home button is pressed so the emby app is exited. There are some series that are setup to record as well. Obviously at times nothing is happening so it should clear this folder but it does not appear to do that. It also does not seem to automatically restart at any time that I have noticed if it is supposed to auto apply updates.

Posted

... I have harmony hubs so when the activity ends the home button is pressed so the emby app is exited. 

 

Unfortunately, on the Roku OS, that is not what happens.  Instead, when the home button is pressed our app is just abruptly killed with no warning or opportunity to recover.  This means that the server does not know that you are no longer watching and continues to serve up the content.  After a couple of minutes, it should realize the app is gone and clean up but the best thing to do is actually exit the playback screen (back button) to end playback.

  • 2 weeks later...
Posted

We're taking another look at this with the Roku app. Thanks for reporting.

Posted

Thanks....fyi....i tried putting back and then home in my Harmony end activity for emby but the directory still seems to be growing

Posted

Thanks....fyi....i tried putting back and then home in my Harmony end activity for emby but the directory still seems to be growing

 

Did you provide at least a slight delay between the two?  If not, the exit command probably doesn't have time to do anything before the home button kills the app.

Posted

would you say a 2 second delay would be enough? I will try adding that and see what happens.

Posted

Start with just 1 or even 3/4 of a second (750ms).  If that still doesn't work, you can bump it up.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...