SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-02-2007, 09:31 AM
tawd1992 tawd1992 is offline
Sage User
 
Join Date: Apr 2006
Posts: 56
Standby issues

My pc will go into standby by itself after 3 minutes with Sage open, but if I set it to 5 minutes it won't go into standby. Without Sage open I can set it to 15 minutes or whatever amount of time & it will go into standby by itself, but when Sage is open 3 minutes is the longest amount of time I can set it to. Does Sage do something at 5 minutes that would cause this? I have the Sage screensaver disabled.
Reply With Quote
  #2  
Old 11-02-2007, 01:14 PM
bluenote bluenote is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Vancouver, canada
Posts: 336
Im by no means an expert, but I suggest having a look at the "rescan for imported files" setting in settings. I cant remember which tab so you'll have to look closely though.

Cory
Reply With Quote
  #3  
Old 03-07-2008, 08:19 PM
tawd1992 tawd1992 is offline
Sage User
 
Join Date: Apr 2006
Posts: 56
After fiddling around with this on & off for the last few months & a few dozen searches here I finally found the problem. I had unc paths set for the recording directories & every 5 minutes Sage checks those directories. Windows sees this as network activity & resets the sleep counter. Thought this would be useful for the archives.
Reply With Quote
  #4  
Old 03-08-2008, 02:46 PM
mskitty666 mskitty666 is offline
Sage Advanced User
 
Join Date: Nov 2007
Location: Virginia USA
Posts: 116
I am just curious. How do you get your pc to come out of standby when it's time for SageTV to record? I have to leave mine running all the time.
Reply With Quote
  #5  
Old 03-08-2008, 04:19 PM
tawd1992 tawd1992 is offline
Sage User
 
Join Date: Apr 2006
Posts: 56
As long as Sage is open when your pc goes to sleep it should automagically turn your pc on 2 minutes before the recording starts (default time.) Are you sure you're using standby & not hibernation? I don't think hibernation will work.
Reply With Quote
  #6  
Old 03-09-2008, 12:05 AM
mskitty666 mskitty666 is offline
Sage Advanced User
 
Join Date: Nov 2007
Location: Virginia USA
Posts: 116
It's definitely standby and not hibernation. I have hibernation disabled. To be honest, I was having some trouble with this and never got around to troubleshooting it yet. I will conduct some tests to make sure it works properly. Thanks.
Reply With Quote
  #7  
Old 03-09-2008, 05:56 AM
steven017 steven017 is offline
Sage Advanced User
 
Join Date: Jan 2008
Location: Japan
Posts: 143
mskitty666, your post and some of the answers are not particularly clear. Here's some info that I hope will be helpful.

First, SageTV should wake from standby or hibernation. I originally thought that it would not wake from hibernation, but after searching for a while, I found that others seem to indicate that it works.

The key here is that either SageTV application, or server, must be running. You cannot shut it (them) down and expect SageTV to wake from standby for a scheduled recording.

Your original post is not clear on this matter.

Quote:
I have to leave mine running all the time.
Does this refer to leaving your PC running all the time or SageTV running all the time?

Steve
Reply With Quote
  #8  
Old 03-09-2008, 07:09 AM
mskitty666 mskitty666 is offline
Sage Advanced User
 
Join Date: Nov 2007
Location: Virginia USA
Posts: 116
Sage is running all the time. I use the system service. I meant that my HTPC is always on. I have set Windows to go to standby and will fine tune this later as well as verify that it will wake up. I'm sure you're correct, but I get paranoid about my shows recording .
Reply With Quote
  #9  
Old 06-20-2008, 12:57 PM
Sagebrush Sagebrush is offline
Sage User
 
Join Date: Dec 2005
Location: Silicon Valley
Posts: 45
Unresolved server sleep problem

Quote:
Originally Posted by tawd1992 View Post
After fiddling around with this on & off for the last few months & a few dozen searches here I finally found the problem. I had unc paths set for the recording directories & every 5 minutes Sage checks those directories. Windows sees this as network activity & resets the sleep counter. Thought this would be useful for the archives.
tawd9992,

I have the same problem getting the sage server to sleep with more than a 3 minute system standby time setting... as have many others over the last 4 years. It's not like we're doing something wrong or even that unusual here.

I'm discouraged that Sage has not come up with a resolution for this <5 minute sleep counter constraint when using UNC on the server. Or if they have, not done a good job communicating it.

If anyone has come up with a work-around for this (other than setting the sleep time to 3 minutes or less), I'm sure many users would be grateful.
Reply With Quote
  #10  
Old 07-06-2008, 05:02 AM
Madz Madz is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 82
Same problem here too - extremely annoying to find it has been around and unresolved since 2004: http://forums.freytechnologies.com/f...ead.php?t=7635 (Also reported here: http://forums.freytechnologies.com/f...ead.php?t=9156)

I don't have unc recording paths, but do have UNC media library import paths. I think turning off the regular library scan did the trick for me, but I found this more frustrating than leaving the PC on so gave up for a while. Just got my last power bill so am back on the case. As soon as I can get a maintenance window approved by the "boss" I'll try again to confirm this.

My current thoughts for resolving this are:
1) post here to see if there's already a solution available
2) beg/pester the sage devs for the ability to set the frequency of the media library scan - so I can set it to longer than my sleep time (ideally sage would do the scan a few minutes after waking up too, but not fussed on that).
3) if no joy with (2) turn off regular scan and try to come up with a bat file that could trigger the scan - I could then run that on my own schedule...

Any thoughts guys?

For people recording to UNC paths (which incidentally is a nice thing to do even if your target folder is on the same server as it allows you to abstract (change) the physical location of the folder without making config changes) it's going to be more difficult to get a fix I think unless you can have a similar setting controlling how often sage looks at its recordings...

Last edited by Madz; 07-06-2008 at 05:47 AM.
Reply With Quote
  #11  
Old 07-08-2008, 02:42 AM
Madz Madz is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 82
I can confirm turning off the Media Library Scan allows the computer to go into Standby as expected. Now, is there any way to control the frequency of this scan??
Reply With Quote
  #12  
Old 07-08-2008, 02:18 PM
Sagebrush Sagebrush is offline
Sage User
 
Join Date: Dec 2005
Location: Silicon Valley
Posts: 45
And I can confirm that on 6.4.4 Beta for Windows, turning off Media Library Scan makes no difference when using UNC recording directories... at least on my system.

Set standby to 3 minutes, and it does so.
Set standby to 5 minutes, and it stays on.
Reply With Quote
  #13  
Old 07-09-2008, 04:32 AM
Madz Madz is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 82
Yep, I think there are really two variations of the same problem. If you are using any UNC paths, when Sage accesses them Windows sees this as network activity and therefore resets the sleep timer - PC stays awake. In Sage there are two different sets of folders which are accessed regularly:
1) your library import folders, which are only accessed regularly if you have enabled the library scan and
2) the recording folders which are checked regularly as Sage performs its normal recording management

Using UNC paths in either will cause a problem. It's not Sage's fault this access keeps the PC awake - all we can ask for is the ability to control how often this access occurs so that the PC has time to go to sleep before the next scan resets the timer. Currently the scans seem to happen every 5 minutes, so the to achieve this the timer must be set for 3 minutes, but that's a bit too short to be practical in my view.

I've sent an email to Sage support regarding the possibility of an option to control the frequency of the library scan. I'd encourage others to do the same if they'd like this resolved. I'll post here any reply I get.
Reply With Quote
  #14  
Old 10-21-2008, 04:11 PM
Madz Madz is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 82
Might be fixed

Just been having a look at what has changed in the latest versions of sage. From the release notes on 6.4.7:

Quote:
6. Added property seeker/thorough_lib_scan_period which controls how often a thorough library scan will be performed if regular scanning is enabled (thorough scans also check for any changed files not just new/removed files)
Haven't tried it yet, but it's sounding very promising!!
Reply With Quote
  #15  
Old 10-23-2008, 06:42 PM
Madz Madz is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 82
Unfortunately not

In case anyone is following this, just tried the update and no luck. My library scan just runs continuously so I had to turn back off the regular rescan. I emailed Sage Support and here is their response:

Quote:
That new setting won't help your problem. That's an issue we're addressing for V6.5 which should be in beta soon. You'll need to turn off periodic scans to resolve that problem for now.
I'm happy they are looking into it and am looking forward to the next beta!
Reply With Quote
  #16  
Old 02-01-2009, 02:12 PM
Mucaro's Avatar
Mucaro Mucaro is offline
Sage User
 
Join Date: Jan 2009
Location: Dunedin, FL
Posts: 9
Has anybody checked if the latest beta (6.5.8) fixed this?
Reply With Quote
  #17  
Old 03-12-2009, 03:30 AM
planetc's Avatar
planetc planetc is offline
Sage Aficionado
 
Join Date: Sep 2005
Posts: 262
Hmmm, I'd quite like to get this one sorted too. I'm currently on 6.4.8 using unc paths for everything, which I'd rather not change as it's all been sweet for some time. I recall that for comskip I can't change them anyway without a great deal of hassle matching drive mapping throughout the network.
I was set to 30 minute standby which left the server running 24/7 but power bills for my house are at stupid levels so every little bit I can save will help. I'm using the 3 minute thing at the moment, but it does tend to make client connections a little erratic if you are slow navigating menus and I'm not entirely happy about the effect of such short cycles on component life either.

Maybe if more people show a concern it will ramp up the priority?
__________________
Server: E7200/2Gb RAM/120gb Boot Drive/120gb music photos/500gb TV/500gb DVDs/Win XP SP3/SageTV v7
Tuners: 2x PVR150 SVHS to Sky Digiboxes with USBUIRT control + Nova TD USB setup using both tuners.
Clients: 2x HP P4HT-3ghz 1.5gig RAM 8400GS@720p/3x Dell Optiplex 1-1.6ghz SFF PCs
Mobile: Samsung Galaxy Tab running TaSageTV.
TVs: 42" Plasma and various LED monitors.
Patiently waiting for customisable menus on v.7
Reply With Quote
  #18  
Old 03-12-2009, 05:22 AM
Madz Madz is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 82
Wish I could help but at the moment something else is keeping my server awake (not sage) so I'm not a good test case... I'm running the latest version though so will try it out if I can get this other issue sorted. Tracking down standby issues is really the worst isn't it - no logs or any real way to work out what's going on. I rely on SysInternals FileMon, but it won't help you if it's network traffic keeping the machine up....
Reply With Quote
  #19  
Old 03-12-2009, 07:30 AM
dbaxley dbaxley is offline
Sage User
 
Join Date: Oct 2008
Posts: 5
I am having similar problems with sleep.

SageTV version 6.5.9.204
NO scanning of directories
NO UNC paths
Standby in Power Options of control panel set for 3 minutes
Windows XP SP3 (all latest updates)
Java - latest update
Comskip addon is installed

With some careful observations, I have found the following:

If I leave the HTPC running (main menu on STANDBY), the HTPC fails to go into standby mode. It records programs I have set to record, but will NOT go into standby mode when done (idle).

If I force the HTPC into standby (power it down using the remote), it wakes up to record programs on schedule and then goes back into standby mode automatically.

I believe there is a bug in SageTV that does not let the OS know that it is idle and can therefore go into standby mode. But, I can't explain why SageTV operates as expected when forced into standby using the power button on the remote.
Reply With Quote
  #20  
Old 03-12-2009, 11:35 AM
tomfisk's Avatar
tomfisk tomfisk is offline
Sage Advanced User
 
Join Date: Oct 2006
Location: Plainview, MN
Posts: 86
Should Sage be putting PC in standby?

My observations:

Windows standby/hibernate options are really meant to be watching activity that indicates a user is interacting with the system. So, standby/hibernate options are not probably going to do you much good on a server system.

Should Sage determine if the system should be suspended? What other processes should it watch in order to not prematurely suspend a system that is otherwise "active"? Examples abound...comskip, dirmon, showanlayzer, etc...of processes that may be active and Sage may not know about.

To this end I have written a Kixstart script that looks at parameters I specify to determine if the system should be suspended. I believe it is the only way that you are going to be able to reliably control standby/hibernate of a server system.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forcing S3 Standby After SageTV Intiated Recording Completes DCKJR SageTV Software 0 08-06-2007 08:51 PM
Tool for XP standby to S3/Sleep, resume from s3, record from SageTV lustik Hardware Support 7 07-06-2007 08:46 AM
S3 Standby assistance simonen Hardware Support 3 02-13-2007 02:03 PM
Client reconnect after standby GTwannabe SageTV Software 5 10-18-2006 04:02 PM
Dish Network Standby Trouble Hardware Support 1 01-09-2006 06:28 PM


All times are GMT -6. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.