NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 72 73 74 75 76 … 433 Next »
Recording files to temp folder filling up HD

Recording files to temp folder filling up HD
mpeloso
Offline

Junior Member

Posts: 3
Threads: 2
Joined: Mar 2016
#1
2017-09-24, 09:47 PM
Just recently NPVR is recording all of these 6 minute 40 second .ts files to the temp directory and filling up my hard drive. I never changed anything so i don't know where to turn this off. I have to go in and delete them before they crash my computer. I've been using this for about 2 years and this just started. How do i turn it off ?
Thanks
Mike
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#2
2017-09-24, 09:56 PM
stop the recording service, then delete the temp files - restart service
mpeloso
Offline

Junior Member

Posts: 3
Threads: 2
Joined: Mar 2016
#3
2017-09-24, 10:09 PM
2leftfeet Wrote:stop the recording service, then delete the temp files - restart service

I don't want to do this every three days. Why is it happening? and how can i prevent it ?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2017-09-24, 10:36 PM
Normally when you watch a live stream, it'll create up to four buffer files, covering approximately 20 minutes of time. When the fourth file is complete, it'll create a fifth, and delete the oldest one. ie, in effect only having four files at a time. When you stop the stream, it'll delete those four files. So...they shouldn't fill up your hard disk.

If you have something unexpected happening, like the software crashing, that causes these files to get left behind, they should be removed next time the recording service is started (like when you reboot).
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#5
2017-09-25, 12:37 PM (This post was last modified: 2017-09-25, 12:56 PM by 2leftfeet.)
sub Wrote:Normally .....
If you have something unexpected happening, like the software crashing, that causes these files to get left behind, they should be removed next time the recording service is started (like when you reboot).

sub, this is true most of the time, but sometimes, I have found, that those files aren't always removed. I have seen crashes (particularly with the kodi client*) where files keep accumulating after the crash.

I use a script that fires off on boot or resume from sleep to make sure those files are deleted.


* (The cause of this appears to be that the server is unaware that the kodi client crashes - keeping the tuner in use and causing continuous stream data to accumulate until the disk fills up or the operator manually intervenes. - there seems to be no signaling or sense on the server's part that the client is no longer functioning and to stop the stream and free the tuner)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#6
2017-09-25, 05:47 PM
2leftfeet Wrote:sub, this is true most of the time, but sometimes, I have found, that those files aren't always removed.
Are you on 4.0.4? This fixed the couple of scenarios I could find where files got left behind.

Quote:(The cause of this appears to be that the server is unaware that the kodi client crashes - keeping the tuner in use and causing continuous stream data to accumulate until the disk fills up or the operator manually intervenes. - there seems to be no signaling or sense on the server's part that the client is no longer functioning and to stop the stream and free the tuner)
It uses the TCP connection for transferring the data to Kodi, and as soon as Windows reports the connection is broken, it stops the streaming and cleans up. Are you able to reproduce at will? If so, it might be worth me taking a look at the logs.
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#7
2017-09-25, 08:09 PM
1. the server is using 4.0.4, client uses kodi 17.4

2. I am not able to reproduce at will, sometimes it works as you describe, others as I describe. If it happens, it occurs on a crash of the kodi client, which admittedly, is rare, but it does happen. The next time it does happen, I will try to remember to collect the logs.
GuruSR
Offline

Member

Posts: 74
Threads: 14
Joined: Oct 2015
#8
2017-09-26, 12:15 AM
Just a quick thought, set that "server" to reboot at a certain time of the night when you're not using it or have it shut off and use the bios to start it up at a good point in the AM before you'd even use it, daily, see if the problem goes away, as with most Windows operating systems, leaving them on too long (24+ hrs) will result in heavy memory fragmentation and services will quietly fail in the background until which point nothing works right, you could be falling victim to that and not knowing it.

GuruSR.
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#9
2017-09-26, 12:57 AM
GuruSR - who are you addressing? If me, my server already re-boots every night as part of the PostUpdateEPG.bat script.

BTW, I was in Ontario last week - great place, except for the sales taxes - were killers, lol.
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#10
2017-11-15, 07:50 PM
sub Wrote:Are you on 4.0.4? This fixed the couple of scenarios I could find where files got left behind.

It uses the TCP connection for transferring the data to Kodi, and as soon as Windows reports the connection is broken, it stops the streaming and cleans up. Are you able to reproduce at will? If so, it might be worth me taking a look at the logs.

sub, this has happened to my wife twice in the last two days and three times in the last two weeks. the kodi client crashes for whatever reason, and the server keeps the tuner locked and keeps accumulating data in the buffer folder. Attached are the server logs.

Normally, when I am watching LiveTV, I can figure out if this issue has occurred and fix accordingly. But when it happens to my wife or children, I don't always find out about until the buffer directory is filled. Is there any way that you could add the client's IP to WinTray to help me "quickly" identify which client has caused the hiccup, particularly when I am not the viewer of liveTV?

Thanks,
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,755 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,115 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,175 2023-11-20, 03:42 PM
Last Post: sub
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,047 2022-04-14, 04:33 AM
Last Post: Antmannz
  Recording to a network drive woes. 2leftfeet 12 7,470 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,803 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,476 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,145 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,389 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,564 2021-01-11, 04:37 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode