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 … 174 175 176 177 178 … 433 Next »
Question regarding sleep behavior on server.

Question regarding sleep behavior on server.
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#1
2015-08-09, 02:26 PM
I have recently discovered that if a show is scheduled to be recorded from a client, the server will not enter sleep mode as long as that recording is pending.

In this situation, "powercfg -requests" on the server shows that an active file is open from a client machine - even if that client machine is off-line. If the recording is canceled, then the power request is cleared and the server will enter sleep at the desired time.

The question is: Is this normal behavior? and if so, is there a way to prevent this particular power request from going active on the server, thereby allowing the server to sleep until the time of the pending recording occurs?

Thanks in advance, 2L
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,945
Threads: 956
Joined: May 2006
#2
2015-08-09, 03:02 PM
I do all my scheduling from clients (NextPVR or x-newa) and I don't see this, but I let me server sleep on disk activity.

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#3
2015-08-09, 05:04 PM
Update: It seems that whenever the client PC is running NPVR, a file share lock is occurring preventing the server from going to sleep. If I terminate the client's NPVR program, the lock is lifted and the server sleeps as scheduled. My issue is that I have been putting the client to sleep when not in use while NPVR is active on it. By doing that, the npvr server still thinks that the npvr client is connected to the server and consequently, the server is not going to sleep itself.

Martin, if after I schedule a recording on a client, then terminate NPVR on the client, the server goes to sleep as expected, but if I leave the client's NPVR on while the PC is sleeping or awake, the server doesn't go to sleep.

I suppose the server is waiting for a signal from the client that doesn't happen if the client goes to sleep while NPVR is still running.

Is there a way that the server times out if no communication with server after a set period of time?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2015-08-09, 06:48 PM
i use this, or rather a variation on this, to allow sleep more normally...
http://www.eightforums.com/tutorials/498...opens.html
and have never had server go to sleep when it shouldn't...Smile

[i use this which sets setting above for all default power schemes:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d]
"Attributes"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d\DefaultPowerSchemeValues\381b4222-f694-41f0-9685-ff5bb260df2e]
"ACSettingIndex"=dword:00000001
"DCSettingIndex"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d\DefaultPowerSchemeValues\8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c]
"ACSettingIndex"=dword:00000001
"DCSettingIndex"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\d4c1d4c8-d5cc-43d3-b83e-fc51215cb04d\DefaultPowerSchemeValues\a1841308-3541-4fab-bc81-f71556f20b4a]
"ACSettingIndex"=dword:00000001
"DCSettingIndex"=dword:00000001
not sure if it works on win10 tho...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#5
2015-08-09, 08:08 PM
pBS,

thanks for the suggestion, I tried it on my server (Win7), the keys installed into the registry and the power scheme now shows the option under sleep. I set both AC & battery settings to ON, but server refuses to sleep. The message in powercfg -requests is: "an active remote client has files opened on this machine" However when I view the open shares window using fsmgmt.msc, there is nothing shared. This leads me to think the NPVR has something going on in background.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2015-08-09, 09:39 PM
forgot to mention you have to reboot to activate it...
also, if npvr interface is open on server it will show same thing for some crazy reason...so must shut down server ui also for sleep...[which makes no sense to me]
and also wait about 5-10 mins for the open to 'clear'...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,945
Threads: 956
Joined: May 2006
#7
2015-08-09, 09:48 PM
pBS Wrote:also, if npvr interface is open on server it will show same thing for some crazy reason...so must shut down server ui also for sleep...[which makes no sense to me]

Not here, sleep works just fine with NextPVR UI running.

Martin
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#8
2015-08-09, 10:30 PM
pBS Wrote:forgot to mention you have to reboot to activate it...

mucho gracious! that did the trick. Twice now you bailed me out of my dilemma, thanks. What else can you do? I suffered a Achilles tendon injury from my morning jog - any suggestions ? lol

I still think that NPVR should handle this better, but I am good for now with this fix (minus my achilles).

UI not a problem here since I have a display-less server - VNC for me.

2L
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#9
2015-08-10, 01:38 AM (This post was last modified: 2015-08-10, 02:28 PM by pBS.)
i bet it's because i had a net path somewhere i shouldn't...but can't seem to find it..[server ui issue]

and it's not npvr that's doing it, it's windows [or dotnet]...xp didn't have this problem with net connects..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IR Server Suite Channel Changer BTJustice 26 27,211 2023-01-11, 08:49 PM
Last Post: Frapo
  Comskip Playback Odd Behavior kirschey 3 1,684 2021-09-27, 06:16 PM
Last Post: sub
  PC not going to sleep after recording LeoL 7 3,266 2021-04-01, 07:17 PM
Last Post: Handy.Man
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,504 2021-03-21, 11:21 PM
Last Post: careads
  Lights-Out for Windows Home Server 2011? TuckerDean 1 1,332 2021-01-28, 01:52 PM
Last Post: mvallevand
  Configure NextPVR Server Pliedes 1 1,821 2020-10-07, 04:59 PM
Last Post: sub
  Lights-Out for Windows Home Server 2011 pvrip 6 3,233 2020-05-21, 04:56 PM
Last Post: Madlec
  Constant Sleep Resume Cycle mikeh49 2 1,262 2020-02-02, 07:57 PM
Last Post: mikeh49
Photo Server database error mnthope 4 2,194 2019-12-23, 11:28 PM
Last Post: sub
  changing channels in guide - stupid user question mt900spg 2 1,587 2019-12-19, 01:30 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode