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 … 208 209 210 211 212 … 433 Next »
NextPVR freezes after removal of ISCSI disk

NextPVR freezes after removal of ISCSI disk
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#1
2014-08-16, 10:35 AM (This post was last modified: 2014-08-16, 11:27 AM by erik.)
NextPVR worked fine.
I'm using an ISCSI disk for backup, using the microsoft ISCSI initiator, the disk does not have a drive letter
No other application or service is supposed to use the backup disk

Whenever the server that provides the ISCSI target is down and the ISCSI inititator on the NextPVR machine is trying to reconnect, strange things happen

After starting NextPVR it is possible to play music or films.
But when going to recordings or the guide screen NextPVR locks up and never becomes responsive again.

Logs are attatched. Seems the database is accessable, no error messages

Now I have completely stopped the ISCSI initiator, after removing all ISCSI references and still NextPVR locks up when trying to access the guide or the recordings panel.

Anyone with a suggestion on what to try next????
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#2
2014-08-16, 02:49 PM
I see this in the npvr.log

Quote:2014-08-16 11:03:14.055 [ERROR][1] Error initialising Direct3D: SlimDX.Direct3D9.Direct3DX9NotFoundException: Direct3DX 9 was not found. Please install the latest DirectX end-user redistributable package from Microsoft.

You might want to re-install the full DirectX from http://www.microsoft.com/en-us/download/...px?id=8109
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#3
2014-08-16, 03:39 PM
I did and the problem disappeared, but how could this have been related to the iSCSI disk not being visible????
Beats me.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,735
Threads: 767
Joined: Nov 2003
#4
2014-08-16, 07:07 PM
There is nothing in that log showing anything going wrong, but I suspect it's more of a Windows thing rather than NextPVR to use or look at your ISCSI disk. NextPVR doesn't have any logic that generically looks at all attached volumes. It only looks at the paths explicitly specified as the recording directory, live tv buffer directory, and library directories.
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#5
2014-08-16, 08:00 PM
I removed all traces of iSCSI on the system and added a physical disk for the backup (its a windows home server v2)
The backup drive has no drive letter

As soon as NextPVR enters the recording or the guide screen the backup disk will spin up so something is accessing the disk.
Could this be the database driver?
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,735
Threads: 767
Joined: Nov 2003
#6
2014-08-16, 09:32 PM
erik Wrote:As soon as NextPVR enters the recording or the guide screen the backup disk will spin up so something is accessing the disk.
The only disk access that is likely occur with this activity is loading data from the database, and checking that recording files exist in the locations specified in the database. So, as long as you don't have that drive specified as a recording directory, and haven't made recordings to it, then NextPVR has no reason to look at it. It could easily be Windows just deciding it wants to look at the drive for whatever reason, or some utilities you've got installed a triggering it wake the volume when their is any activity etc.

Quote:Could this be the database driver?
I wouldn't think so. It's usually on the C:\ drive, and the app opens the file with the explicit path, so there would be no reason for it to be looking at other drives.
dljones8053
Offline

Senior Member

USA
Posts: 267
Threads: 2
Joined: Jul 2006
#7
2014-08-18, 01:49 AM
Where is your Live TV folder located? Verify this in the NextPVR settings to make sure Live TV folder is correct and in a good location on a disk that's still in place.

dj
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#8
2014-08-18, 09:23 AM
I'd use sysinternals filemon to see what process is accessing the drive/file.
I see that it's no longer filemon but process monitor that does the same and more.
http://technet.microsoft.com/en-gb/sysin...s/bb896645
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#9
2014-08-27, 09:18 AM
I found and solved the problem.

In the past I used a network share to store recordings.
Due to a changed configuration the NPVR system changed to having an internal disk for recordings but the recordings database still contains the recordings to the network share.
Then I changed my network configuration so the old path to the server storing the recordings as mentioned in the recordings database was no longer valid.
Both the recordings panel and the guide panel when activated start to check presence of recordings in the recordings database on the main thread. As the path to the recording was no longer valid a very long network timeout occurred on each of the many past recordings in the network share still in the recordings database (as proven by using processmonitor, this is tricky as process monitor only shows the call to access a files AFTER the call completes, thus after the very long network timeout) causing NextPVR.exe to become non-responsive
The solution was to edit the hosts file so the path to the server storing the network share did resolve thus eliminating the very long network timeout.

I hope it is possible to change this behavior of NextPVR.exe as this is something that could happen to other people and is VERY difficult to diagnose.
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#10
2014-08-27, 04:02 PM
AFAIK the default behaviour of npvr is to delete database entries for recordings that cannot be found. This can be turned off in config.xml though.
It can always be a problem when changing drives for recordings. I can't think of a way to prevent the problem you had without the possibility of losing database entries for an offline network drive.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 141,848 2024-01-29, 01:07 AM
Last Post: stoenjes44
  NextPVR VOD through Kodi unmich 2 1,267 2023-06-18, 03:54 AM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,177 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,692 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,439 2021-07-23, 07:01 PM
Last Post: sub
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,577 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,946 2021-02-03, 01:29 PM
Last Post: Graham
  NextPVR V4 Web Issue meccano 3 1,900 2021-01-30, 04:20 AM
Last Post: meccano
  TV very choppy after downgrade from Nextpvr v5 riverboat2001 18 4,865 2021-01-26, 01:51 PM
Last Post: mvallevand
  Configure NextPVR Server Pliedes 1 1,828 2020-10-07, 04:59 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