|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
SageTVService slow startup
So I decided that it was time to update my sister's SageTV system. It was running SageTV 6.2 something and needed a driver and software refresh.
Did you ever notice that sometime when you think you are going to be making "progress" you end up loosing ground? Several problems, but I'll focus on one that I finally worked around, but has me still wondering... After the upgrade to 6.6, I noticed that it would take a long time for the SageTV service to get going. Consistently around 12 minutes. During this time the PC is mostly usable...everything else appears to be running normally. However, things like modifying a service or trying to install/uninstall an application would hang until the SageTV service "unpaused". Turned on the debug log...nothing remarkable except that it pauses...no errors. I downloaded BootLog XP and looked at it's trace. It appeared that Sage was paused in the process of loading DShowFilter.dll. Don't know what that meant... My initial thought that Sage was deadlocking with some other process for some resource and it took 12 minutes for the deadlock to timeout. Started turning off services that looked like candidates and rebooted after each. Still 12 minutes... Finally decided to disable the SageTV service. PC booted up very quickly. Immediately after boot, brought up the SageTV service control panel, enabled it, and started it...started up right away. So...turns out that the SageTV service can not be started immediately after a boot. I wrote a script that waits 15 seconds after boot and then does a "net start sagetv". That is working...however I'm left with a niggling feeling that I shouldn't have to do that...and that more "fun" is lurking around a corner somewhere...
__________________
Check it out! - http://www.vholdr.com/video/playing-sky |
#2
|
|||
|
|||
I do the same thing I start the Service via batch-file also after a reboot. I have recordings on a NAS and sometimes the service would hang if it started before the NAS came online... Delaying the start-up works for me also.
There are no ill effects from doing this once the service is started if it crashes it will restart again anyway you start it.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#3
|
|||
|
|||
I have a sort-of-similar problem.
Sometimes the sage service starts before windows has finished enumerating the tuners. The result is sage only sees one of them, and the fix is to simply restart the sage service. Would you mind posting the batch file/script you used to delay sage from starting? Thanks in advance |
#4
|
|||
|
|||
You can try setting a dependency for the Sage service on one of the other services that you think it might have issues with, then it won't start until the other one(s) do.
|
#5
|
||||
|
||||
Quote:
Here is the script...I use Kixtart...pretty simple. Code:
Sleep 15 Net Start SageTV
__________________
Check it out! - http://www.vholdr.com/video/playing-sky |
#6
|
||||
|
||||
can't you just drop the .bat file in your startup folder (in XP)?
should run fine from there. I use this on my work computer to auto-open Outlook, etc.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9 |
#7
|
||||
|
||||
I have this problem as well.
In XP you can define a scheduled task call the .bat file, which can be set to fire on system startup or user login. |
#8
|
|||
|
|||
1. you have to make sure the service is set to manual.
2. Make sure your computer is on autologon and your logon has administrative privileges. 3. Set up in task schedule and make sure you check to run at logon. startsage.bat Sleep 30 Net Start SageTV
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#9
|
|||
|
|||
How many shows are recorded, and how much history is there in the WIZ.BIN file? I've got a 3 year old Sage install, with nearly 3 TB of recordings, and it takes close to 20 minutes for Sage Service to stabilize after a restart. I think it's just a matter of Sage having to check everything to make sure nothing is wrong, look for orphaned recordings, etc. when it first starts.
|
#10
|
|||
|
|||
I've never seen this happen on any of the 3 different servers I've used with Sage over the years.
You guys should file a bug report on this. |
#11
|
|||
|
|||
I see it happen all the time if the NAS is not online at the time Sage tries and start ... it is not a bug. It looks for the recordings on the Nas to verify and hangs for a while... I have over 2000 recordings on my NAS. I prefer starting sage after the server has completely reboot and all the network devices are connected.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 11-18-2009 at 02:34 AM. |
#12
|
||||
|
||||
I've been experiencing this for years. Here's another thread on the subject.
I'd love to know the cause of the problem. I don't think it's necessarily related to nas based storage as mine is all local to the machine and should be available at the time the service is starting. Mick. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Slow client startup causes Sage to lose focus | brewston | SageTV Software | 2 | 02-16-2009 03:33 AM |
Slow startup | coppit | SageTV Software | 14 | 02-01-2008 09:59 PM |
VERY slow service startup on server reboot with v6.0.15 | briands | SageTV Beta Test Software | 6 | 12-20-2006 10:18 PM |
slow audio and video, slow-motion like... | xlr8shun | SageTV Software | 3 | 05-26-2006 01:50 PM |
SageTV Slow Slow Slow... | Player0 | Hardware Support | 35 | 04-03-2004 02:03 PM |