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 … 109 110 111 112 113 … 433 Next »
Hung client - how to detect

Hung client - how to detect
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#1
2016-10-30, 09:24 PM
So I have several Raspberry Pi2 as kodi clients for live TV throughout the house. They have worked well for over a year now except today... From what I can figure last night around 11ish one got hung streaming a tv channel. Since the TV was set to sleep (and me too) it was never discovered until about 4 this afternoon when I noticed the Patriots game didn't get extended by NextEnd. A bit of checking showed a extra tuner in use which got tracked back to the Pi.

I have a script for updateEPG which checks to see if a tuner is in use to delay the update until all tuners are free. Long story short, with the tuner in use updateEPG never fired which also launches NextEnd so it didn't fire either and I lost the last of the Patriots game.

Not a huge deal, but it got me to thinking... is there some way with a setting or via script to see if a client has been streaming for xx number of hours and kill the connection?


On another note, I'm seeing a lot of these errors (NPVR.log.2). Is this anything to be conserned about?
Code:
2016-10-30 16:32:36.139    [DEBUG][13]    Scanning DRI devices
2016-10-30 16:32:36.140    [DEBUG][13]    Device: HDHomeRun DRI Tuner 13217F3A   *
2016-10-30 16:32:36.140    [DEBUG][13]    Adding DRI interface: urn:microsoft-com:serviceId:OCTAMessage (urn:schemas-microsoft-com:service:OCTAMessage:1)
2016-10-30 16:32:36.140    [DEBUG][13]    Failed to find capture source (HDHomeRun DRI Tuner 13217F3A) in the 7 items

I'm not sure the logs are going to be much help as I've done a good bit of mucking around in the last bit to try and figure out what was up but here they are.

[ATTACH=CONFIG]43169[/ATTACH]
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: 52,945
Threads: 956
Joined: May 2006
#2
2016-10-31, 04:48 PM
snagglewest Wrote:I have a script for updateEPG which checks to see if a tuner is in use to delay the update until all tuners are free. Long story short, with the tuner in use updateEPG never fired which also launches NextEnd so it didn't fire either and I lost the last of the Patriots game.

For extending NextEnd should not have been impacted. Do you still have the football recording? If so what does

NextEnd --oid 48687

give you?

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#3
2016-10-31, 09:40 PM
No, I deleted it. However, I just noticed my ParallelProcessing didn't have start /b "" "%PROGRAMFILES%\NPVR\NextEnd.exe" --oid %3 so that was probably the problem with the game. I guess the client getting hung and holding the tuner in use was a sorta a good thing, at least I figured out I had problem with my NextEnd setup.

On the error in the NPVR.log

Code:
016-10-30 16:32:36.139 [DEBUG][13] Scanning DRI devices
2016-10-30 16:32:36.140 [DEBUG][13] Device: HDHomeRun DRI Tuner 13217F3A *
2016-10-30 16:32:36.140 [DEBUG][13] Adding DRI interface: urn:microsoft-com:serviceId:OCTAMessage (urn:schemas-microsoft-com:service:OCTAMessage:1)
2016-10-30 16:32:36.140 [DEBUG][13] Failed to find capture source (HDHomeRun DRI Tuner 13217F3A) in the 7 items


Is this something to be worried about? The only tuners I have are 2 HDHR Primes (6 tuners) and everything seems to be working ok with the recordings and live TV. But then again "Failed to find capture source" is a bit disconcerting.
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,712
Threads: 767
Joined: Nov 2003
#4
2016-10-31, 10:35 PM
snagglewest Wrote:On the error in the NPVR.log

Code:
016-10-30 16:32:36.139 [DEBUG][13] Scanning DRI devices
2016-10-30 16:32:36.140 [DEBUG][13] Device: HDHomeRun DRI Tuner 13217F3A *
2016-10-30 16:32:36.140 [DEBUG][13] Adding DRI interface: urn:microsoft-com:serviceId:OCTAMessage (urn:schemas-microsoft-com:service:OCTAMessage:1)
2016-10-30 16:32:36.140 [DEBUG][13] Failed to find capture source (HDHomeRun DRI Tuner 13217F3A) in the 7 items


Is this something to be worried about?
This isn't a problem, and can be safely ignored.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NLite Client on Raspberry Pi cweseloh 16 4,725 2024-10-23, 01:59 PM
Last Post: fla
  Client trouble Jzzhn 2 1,462 2020-08-31, 05:41 AM
Last Post: Jzzhn
  NextPVR Client Rendering NumberFive 1 1,485 2020-07-28, 10:17 PM
Last Post: NumberFive
  Client Hang artmetz 4 2,146 2020-06-07, 09:14 PM
Last Post: sub
  Nvidia Shield TV - Android client / Kodi client. mkotas 9 4,232 2020-01-28, 10:58 AM
Last Post: mkotas
  Cant disable nextpvr as a client eastavin 5 2,490 2019-11-01, 02:57 AM
Last Post: eastavin
  Play back of recording from client PC hangs up dcl 5 1,931 2019-09-15, 10:46 PM
Last Post: mvallevand
  Npvr act as client spudjg1 1 1,343 2019-06-16, 11:09 AM
Last Post: spudjg1
  NextPVR client / server set up EiEiOhh 3 2,189 2019-06-02, 06:01 PM
Last Post: mvallevand
  Nextpvr getting hung up Jakesty 30 6,346 2019-05-22, 04:46 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode