Jump to content

Transcode folder not clearing up thread (Another)


Recommended Posts

Posted

Hi !

Sorry for posting yet another topic on this issue but hey, we got to get to the bottom of this right ?

3 streams running, all direct play, no live TV

Got 4 "orphaned folders / sessions" in my transcode folder.

Now I've researched this issue on the forums in the last weeks :

  • Live TV seemed to be the worst culprit
  • Something to do with changing the default Transcoding temporary path might be a catalyst?

And I thought I would have fixed it in this way (It seemed to work fine for almost a Week) :

I run Emby in a docker container (Unraid -> LinuxServer Image)

So I have the power to move where the transcoding temporary files are stored without changing the default Transcoding temporary path in Emby !

So I added a -path variable to point the container path '/config/transcoding-temp' to '/tmp/emby'

(Yeah, RAM drive .. I don't want to start a fight with @softworkz, I got 192GB + Swap, Not in a million years should it ever fill up, I throttle Transcoding to not Pegg the I/O like crazy, I care about latency for Emby and my SSD lifespan -> I was using SSD but I'm already at 342TB/1.2PB of TBW on a 3yo nvme drive)

I had a little issue on reboot where the permissions on the /tmp/ folders were not persisting, so I added a user script on first array start to set the permissions for the user used by the containers.
 

#!/bin/bash
setfacl -m u:altheran:rwx /tmp/
sleep 120
setfacl -R -m u:containeruser:rwx /tmp/emby/
setfacl -R -m u:containeruser:rwx /tmp/tdarr/

Now before posting logs :

  • are these anonymized ?
  • I got my embyserver.txt logs, and A LOT of ffmpeg-transcode*.txt ... can't post them all, wich one do i take ?

Screenshot of the issue :

image.png.92aa7ed03ee84b159184095039fdf4ac.png

 

Posted
Quote

are these anonymized ?

Hi, yes they are.

Quote

I got my embyserver.txt logs,

The one from when the problem was observed. Thanks !

Posted (edited)

Well here goes, it happened between the day before and the moment I posted, so I've put everything in the compressed 7z.
 

Edited by Abobader
Log removed
Happy2Play
Posted
1 hour ago, Altheran said:

Well here goes, it happened between the day before and the moment I posted, so I've put everything in the compressed 7z.

Note zipping the entire folder does not anonymize your logs.  Probably want a mod/dev to delete the zipped attachment if you can't remove attachments in your forum profile.

But will need to enable Debug logging to show "EncodingManager" deleting temp folders.

  • Like 1
  • Haha 1
Posted

@Altherancan you please attach the emby server log from when the problem was observed? Thanks !

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...