andyblac644 69 Posted January 8, 2018 Posted January 8, 2018 (edited) as the title how often is the folder cleaned, just I have 11gb in it atm. Edited January 8, 2018 by Happy2Play remove url
ebr 16184 Posted January 8, 2018 Posted January 8, 2018 When the files are no longer needed. Is someone actively watching something like Live TV? A few hours of that could easily be that size. If not, you can re-start the server and it will clean it out.
andyblac644 69 Posted January 8, 2018 Author Posted January 8, 2018 When the files are no longer needed. Is someone actively watching something like Live TV? A few hours of that could easily be that size. If not, you can re-start the server and it will clean it out. files go back several days?
andyblac644 69 Posted January 8, 2018 Author Posted January 8, 2018 It's cleaned when playback stops not here, most of those where from AppleTV that not been used all day today.
ebr 16184 Posted January 8, 2018 Posted January 8, 2018 Are you using a reverse proxy or other advanced network routing in your setup? Several of the issues you have been reporting sound like they are related to network communications being interrupted. These files still being there are a symptom of the server not being properly notified that playback finished - and your dashboard reporting issue looks that way too.
andyblac644 69 Posted January 8, 2018 Author Posted January 8, 2018 (edited) Are you using a reverse proxy or other advanced network routing in your setup? Several of the issues you have been reporting sound like they are related to network communications being interrupted. These files still being there are a symptom of the server not being properly notified that playback finished - and your dashboard reporting issue looks that way too. I do have VLAN for my CCTV, Smart devices, but main lan is in one subnet. Edited January 8, 2018 by andyblac644
Luke 42078 Posted January 9, 2018 Posted January 9, 2018 can we look at an example of a playback session where the files got left behind, along with the corresponding emby server log? thanks.
Scott D 69 Posted January 9, 2018 Posted January 9, 2018 (edited) I experience the same thing on a regular basis. Just read this post this morning and sure enough, I have a sample from last night. See attached. Hope this helps. Server Log.txt ffmpeg Log - MBU Movie.txt ffmpeg-Snowman Movie.txt Edited January 9, 2018 by Scott D
ebr 16184 Posted January 9, 2018 Posted January 9, 2018 This is very interesting: 2018-01-08 22:35:51.601 Info HttpServer: HTTP Response 204 to REDACTED. Time: 2ms. http://REDACTED:8096/emby/Sessions/Playing/Progress 2018-01-08 22:36:37.764 Info HttpServer: HTTP GET http://REDACTED:8096/emby/system/info/public?format=json. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:37.765 Info HttpServer: HTTP Response 200 to REDACTED. Time: 1ms. http://REDACTED:8096/emby/system/info/public?format=json 2018-01-08 22:36:38.158 Info HttpServer: HTTP GET http://REDACTED:8096/emby/system/info?format=json. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:38.178 Info HttpServer: HTTP Response 200 to REDACTED. Time: 20ms. http://REDACTED:8096/emby/system/info?format=json 2018-01-08 22:36:38.757 Info HttpServer: HTTP GET http://REDACTED:8096/emby/Users/f1af3a9554ff415b88568f4ae6824c53. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:38.759 Info HttpServer: HTTP Response 200 to REDACTED. Time: 1ms. http://REDACTED:8096/emby/Users/f1af3a9554ff415b88568f4ae6824c53 2018-01-08 22:36:39.256 Info HttpServer: HTTP POST http://REDACTED:8096/emby/Sessions/Capabilities/Full. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:39.315 Info HttpServer: HTTP Response 204 to REDACTED. Time: 58ms. http://REDACTED:8096/emby/Sessions/Capabilities/Full It looks like the app re-started during playback (or perhaps at the very end of the first movie). Do you know if maybe she hit the Roku "Home" button during the credits and then re-opened the app?
Scott D 69 Posted January 9, 2018 Posted January 9, 2018 This is very interesting: 2018-01-08 22:35:51.601 Info HttpServer: HTTP Response 204 to REDACTED. Time: 2ms. http://REDACTED:8096/emby/Sessions/Playing/Progress 2018-01-08 22:36:37.764 Info HttpServer: HTTP GET http://REDACTED:8096/emby/system/info/public?format=json. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:37.765 Info HttpServer: HTTP Response 200 to REDACTED. Time: 1ms. http://REDACTED:8096/emby/system/info/public?format=json 2018-01-08 22:36:38.158 Info HttpServer: HTTP GET http://REDACTED:8096/emby/system/info?format=json. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:38.178 Info HttpServer: HTTP Response 200 to REDACTED. Time: 20ms. http://REDACTED:8096/emby/system/info?format=json 2018-01-08 22:36:38.757 Info HttpServer: HTTP GET http://REDACTED:8096/emby/Users/f1af3a9554ff415b88568f4ae6824c53. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:38.759 Info HttpServer: HTTP Response 200 to REDACTED. Time: 1ms. http://REDACTED:8096/emby/Users/f1af3a9554ff415b88568f4ae6824c53 2018-01-08 22:36:39.256 Info HttpServer: HTTP POST http://REDACTED:8096/emby/Sessions/Capabilities/Full. UserAgent: Roku/DVP-8.1 (298.01E04042A) 2018-01-08 22:36:39.315 Info HttpServer: HTTP Response 204 to REDACTED. Time: 58ms. http://REDACTED:8096/emby/Sessions/Capabilities/Full It looks like the app re-started during playback (or perhaps at the very end of the first movie). Do you know if maybe she hit the Roku "Home" button during the credits and then re-opened the app? I cannot say how she got from one movie to another. But I have similar results almost daily. I have been restarting my server on a daily basis for quite some time. This always clears the cache. I will try a few tests on my end so I can report back.
ebr 16184 Posted January 9, 2018 Posted January 9, 2018 I cannot say how she got from one movie to another. But I have similar results almost daily. I have been restarting my server on a daily basis for quite some time. This always clears the cache. I will try a few tests on my end so I can report back. I can reproduce this scenario by hitting the home button during playback. I'll see how the app can properly handle that and get a beta out for you to test. Thx.
ebr 16184 Posted January 9, 2018 Posted January 9, 2018 Oh, my... it appears based on my research that there is absolutely no notification to the app when the user exits via the "Home" button. My initial testing appears to confirm that research.
andyblac644 69 Posted January 9, 2018 Author Posted January 9, 2018 Oh, my... it appears based on my research that there is absolutely no notification to the app when the user exits via the "Home" button. My initial testing appears to confirm that research. could you add a schedule in the server to prune the folder for files that are older than 1 day ?
twiggy2cents 2 Posted October 5, 2018 Posted October 5, 2018 Has this been addressed? I have the same issue. If it hasnt been addressed yet would a cron job to clear it be acceptable until it gets fixed?
Luke 42078 Posted October 5, 2018 Posted October 5, 2018 Has this been addressed? I have the same issue. If it hasnt been addressed yet would a cron job to clear it be acceptable until it gets fixed? Hi @@twiggy2cents, can we please go over an example? Please attach the information requested in how to report a problem. thanks !
twiggy2cents 2 Posted October 5, 2018 Posted October 5, 2018 Sorry I just removed them, if or when it happens I will get the logs and steps to reproduce.
neik 873 Posted October 6, 2018 Posted October 6, 2018 (edited) Hi guys, I am having the same issue, my transcoding-temp folder has almost 4.000 files and 27GB. This has happened a few times now and as soon as I restart the server the folder will be cleaned. I do not really know when this happens or what causes this but it seems to me that when I am playing a remuxed file on my FTVS and just shutdown my TV before closing the stream the client doesn't seem to communicate to the server that the remux has stopped and therefore it the server keeps those files. If I close the stream first and then shutdown my TV the files seem to get cleaned on the server. Does this make sense? If so, I could try to reproduce and provide logs. Edited October 6, 2018 by neik
Happy2Play 9780 Posted October 6, 2018 Posted October 6, 2018 Hi guys, I am having the same issue, my transcoding-temp folder has almost 4.000 files and 27GB. This has happened a few times now and as soon as I restart the server the folder will be cleaned. I do not really know when this happens or what causes this but it seems to me that when I am playing a remuxed file on my FTVS and just shutdown my TV before closing the stream the client doesn't seem to communicate to the server that the remux has stopped and therefore it the server keeps those files. If I close the stream first and then shutdown my TV the files seem to get cleaned on the server. Does this make sense? If so, I could try to reproduce and provide logs. That is the normal operation. If the stream isn't stopped properly the server doesn't receive the commands to clean them up.
neik 873 Posted October 6, 2018 Posted October 6, 2018 That's what I supposed. For me this isn't an issue at all as a I have a bit of free space but for those with little space available it can become a problem. My thoughts on this: Why aren't the streams marked with a timestamp and 24 hours deleted if there are still files in the transcoding folder? The probability is very high that those files aren't been used 24 hours after the stream was opened.
twiggy2cents 2 Posted October 6, 2018 Posted October 6, 2018 Normal is one thing right is another. I think it needs some sort of purge timer which goes back to my question, would it be alright to set a cron job to clear those files? Or would it be better to schedule a server restart?
Happy2Play 9780 Posted October 6, 2018 Posted October 6, 2018 Normal is one thing right is another. I think it needs some sort of purge timer which goes back to my question, would it be alright to set a cron job to clear those files? Or would it be better to schedule a server restart? Either will work. Restarting the server already cleans things up. It would be whichever one works best for you.
neik 873 Posted October 6, 2018 Posted October 6, 2018 Normal is one thing right is another. I think it needs some sort of purge timer which goes back to my question, would it be alright to set a cron job to clear those files? Or would it be better to schedule a server restart? Reading this let me think that I was overthinking this, I guess. A scheduled restart is a nice and clean way to get rid of the these temp files.
ebr 16184 Posted October 6, 2018 Posted October 6, 2018 Turn on the "Runaway Playback Prevention" option in the playback settings in the Fire TV app.
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