NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 27 28 29 30 31 34 Next »
recording service stopped

 
  • 0 Vote(s) - 0 Average
recording service stopped
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#41
2020-03-07, 02:22 AM
Had another lock up tonight about 21:04 while watching live TV.  A check of the cli found everything like the last times, web UI is accessible but the tuners in live TV are not.  2 recordings started at 19:58 and both ended at 21:02 (2 min pre & post padding) which I'm suspecting has something to do with it.  The best I can figure is every time we have this issue is when a recording is starting or ending.  

Here are logs.  I added "export NEXTPVR_VERBOSE=true" to nextpvr-server.conf" as Martin suggested  on Feb 27 so hopefully the logs are correct and give you something to go on.

[attachment=834]
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#42
2020-03-07, 03:05 AM
Has the problem changed? Earlier posts where about streams not stopping but this seems more about an RPi client not streaming.

I don't see any verbose logging but with the logging from so many clients that might not be a bad thing.

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#43
2020-03-07, 01:29 PM (This post was last modified: 2020-03-07, 01:30 PM by snagglewest.)
As far as I can tell it's a combination of both, but not necessarily at the exact same time though I think it's all related.  Generally I find there's a problem when streaming stops or isn't functioning.  If we're watching live TV and it happens it's easy to identify there's a problem, if not then the first indication is usually when we try to start live TV and it won't work.  The one common denominator is the problem always happens when a recording is ending and from what I can tell, when at least 2 end at the same time.  In the case were the files never stopped recording there was 2 recordings which stopped at the same time while the 2 others were still recording.

You mentioned the enhanced logging doesn't appear to be working.  This is the contents of nextpvr-server.conf, does it look right?

Code:
NEXTPVR_DATADIR_USERDATA=/var/opt/nextpvr/
export NEXTPVR_VERBOSE=true
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#44
2020-03-07, 02:25 PM
Ok, so I might be making some progress at least with recreating the problem at will.  writting the last post kinda got me thinking so I ran the link Sub provided in the browser to activate the enhanced logging.  I then scheduled 2 simultaneous recordings, Xploration Outer Space.S05E01 & This Old House.S41E09, both ending at 9:02am ( 2 min post padding).  These both started about 8:33ish.  

Live TV was playing on the TV (WVEC-HD)  the entire time and about 9:03ish the stream locked up again.  Same symptoms as usual, web ui responsive,  recordings can't be played thru the web ui,  live TV not available and the web ui showing no tuners in use.

Anyhow, I restarted the service from the cli and grabbed the attached logs.  Hopefully they are more useful.

[attachment=837]
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#45
2020-03-08, 12:10 AM
There is some link in your log to the described issue since just after the recording stops we see the last reference to that live tv item.

2020-03-07 09:02:03.709 [DEBUG][8] Closing TSWriter: /mnt/recordings/Xploration Outer Space/Xploration Outer Space.S05E01.Mars InSight.ts
2020-03-07 09:02:03.900 [DEBUG][44] Renewed lease... (1A0007)

is the last reference to that lease on the thread and it didn't report back the ok.

Looking at the previous logs that seems to be consistent no ok was logged.

Also my instructions were wrong you don't need the export to set the variable in the conf file.

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#46
2020-03-08, 12:45 AM
Ok, in nextpvr-server.conf I removed "export" so the line is just "NEXTPVR_VERBOSE=true" now.

I'm guessing Sub will need to look into the lease issue?
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#47
2020-03-08, 01:54 AM
(2020-03-07, 02:25 PM)snagglewest Wrote: writting the last post kinda got me thinking so I ran the link Sub provided in the browser to activate the enhanced logging. 
Unfortunately we're yet to see any of the verbose log messages appear in your logs. I'm not really sure why, probably the variable needing that export removed.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#48
2020-03-08, 01:56 AM
That last set has verbose messages mainly on recording status playback position

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#49
2020-03-08, 02:09 AM
(2020-03-08, 12:45 AM)snagglewest Wrote: I'm guessing Sub will need to look into the lease issue?
At this stage there is still no clear indication of where the problem is, so nothing obvious for me to fix. The lack of a 'Renew lease ok' message may mean it's blocked waiting for something to complete on the main recorder thread, but I'm not not really sure.
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#50
2020-03-08, 02:13 AM
I'm not sure why we're not getting the verbose logging you want.  I just checked and the NShared.dll is definitely the correct version and the url you asked me to run seems to be giving the proper return.  Is there something else i need to do on my end?

[attachment=840]

   
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 … 3 4 5 6 7 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Plyback Timeline Issue JeffH 11 856 2025-01-17, 03:20 PM
Last Post: mvallevand
  Wake on suspend for recording flyingsubs 15 4,784 2024-12-03, 01:07 PM
Last Post: mvallevand
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 894 2024-10-29, 11:44 PM
Last Post: sub
Wink recording rules - nextpvr kfmf 4 853 2024-07-20, 08:50 AM
Last Post: kfmf
  Live stream not working while recording pciber 6 1,088 2024-06-10, 07:48 AM
Last Post: pciber
  Time scheduled radio recording? WagMan 8 1,270 2024-01-13, 05:34 PM
Last Post: mvallevand
  NextPVR suddenly stopped receiving streams bmentink 10 1,744 2024-01-10, 02:28 AM
Last Post: mvallevand
  How do I shut the service down? Can I run it on as needed basis instead? snow 3 1,094 2023-12-25, 04:41 AM
Last Post: mvallevand
  Recording length error VCR58 20 2,418 2023-11-12, 11:46 PM
Last Post: mvallevand
  Nextpvr Has Stopped Recording Mark_S 4 935 2023-05-28, 04:27 PM
Last Post: Mark_S

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

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

Linear Mode
Threaded Mode