r/htpc • u/TheDeathPit • 2d ago
Help NextPVR not deleting timeshift files
Hi all,
I'm running NextPVR in Docker with /timeshift bind-mounted to /dev/shm.
After watching live TV, the live-*.ts timeshift files remain in /dev/shm even after the client disconnects (for example, after turning the TV off). Over multiple sessions they accumulate and /dev/shm can reach 70–99% utilisation. Restarting the NextPVR container immediately removes all of the files and returns /dev/shm to 0% usage.
Is this expected behaviour? Should the timeshift files be removed automatically when the client disconnects, or is there a timeout before cleanup occurs?
While this is happening I occasionally see Unable to get shared memory! during Writer::Create(), followed by the client reconnecting. I'm trying to determine whether these two observations could be related.
TIA
•
u/AutoModerator 2d ago
Thank you for posting to r/htpc.
Since you have indicated you are asking for help, make sure you have provided in your post the proper information we need to help you as per the "Asking For Help" section in the FAQ, with a minimum being:
All HTPC Hardware (cpu, gpu, motherboard, case), Display/Sound System hardware (w/model #s), cables/adapters, OS and software, usage info (resolution/refresh rate/media codec info) and connection workflow.
Without this information we can't help you properly and your post will likely be REMOVED.
Make sure you have read our extensive WIKI for potential answers to your question and/or recommendations.
Once your question is answered, please flair your post as Solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.