SageTV Community  

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

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-21-2007, 04:18 PM
bones71 bones71 is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 105
Cmd.exe

I am having a problem with the new 6.14 beta I noticed it going real slow for a while now. Brought up the windows task manager and it shows cmd.exe using anywhere from 90% to 100% cpu. I end the process then it works perfect. Then it restarts and slows everything down. This is happening on my server and client machines at first I thought maybe a virus or something did registry scans virus scans. couldn't figure it out. Then I left task manager open On my client. Opened sage no cmd.exe. As soon as I start a show for playback cmd.exe starts and slows sage down. end process and fine. Why is this happening? Anybody else having this problem?
Reply With Quote
  #2  
Old 03-21-2007, 05:22 PM
jlabrue jlabrue is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 320
Quote:
Originally Posted by bones71 View Post
I am having a problem with the new 6.14 beta I noticed it going real slow for a while now. Brought up the windows task manager and it shows cmd.exe using anywhere from 90% to 100% cpu. I end the process then it works perfect. Then it restarts and slows everything down. This is happening on my server and client machines at first I thought maybe a virus or something did registry scans virus scans. couldn't figure it out. Then I left task manager open On my client. Opened sage no cmd.exe. As soon as I start a show for playback cmd.exe starts and slows sage down. end process and fine. Why is this happening? Anybody else having this problem?
I believe I know exactly what your problem may be, I had the same thing happened. I had installed the latest Comskip stvi with the new version of Sage. The default setting or at least the one causing this was for it to start processing at the start of a show. I think the default configuration for that was to kick off comskip.exe and I did not use that utility but I instead used DirMon/SA. By turning off the option to start processing something on watch it stopped happening. I don't the exact path but it was in the Setup/Advanced/Comskip section I believe

John
Reply With Quote
  #3  
Old 03-21-2007, 05:55 PM
bones71 bones71 is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 105
Thank you I actually figured it out kinda I went back to the stock stv then it was fine installed comskip and it happened again so I went back to the old comskip. I also use dirmon and show anylizer. Now I can shut off the processing like you said and go back to the new comskip. Thanks Again.
Reply With Quote
  #4  
Old 03-28-2007, 03:28 PM
sandor's Avatar
sandor sandor is offline
Sage Expert
 
Join Date: Dec 2006
Location: Philadelphia, PA USA
Posts: 621
Quote:
Originally Posted by bones71 View Post
Thank you I actually figured it out kinda I went back to the stock stv then it was fine installed comskip and it happened again so I went back to the old comskip. I also use dirmon and show anylizer. Now I can shut off the processing like you said and go back to the new comskip. Thanks Again.

just had this same problem, and disabling the scan on watch option worked perfect!
__________________
MacBook Core2Duo 2 ghz
nVidia 9400M GPU
46" Sammy HLP4663 720p DLP
2x HDHR, all OTA
QNAP TS-809:
12.5 TB for Recordings/Imports/TimeMachine/Music
HD200 via 802.11n in Living Room
802.11n client in bedroom
Reply With Quote
  #5  
Old 03-28-2007, 04:44 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Start on Watch should be disabled by default.

If you are using it though, you can fix up the comskip.cmd for less impact by editing it and adding -n to any comskip commands you are using ie: comskip -n

I've slipped a modified comskip.cmd into the current download 1.3.6

John
Reply With Quote
  #6  
Old 03-30-2007, 01:49 AM
rockwella rockwella is offline
Sage User
 
Join Date: Feb 2007
Posts: 10
you people are geniuses...search and you shall find...but really, this works perfectly for the cmd.exe thing.....check it out.
Reply With Quote
  #7  
Old 04-01-2007, 09:40 AM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Thanks guys, I was pulling my hair out trying to figure out why CMD.EXE kept popping and chewing up 50% cpu every time I tried to play a video on the server.
At first I thought it was because I also just added my HDHomerun with the Sage update, but then noticed that it also did on SD files.
__________________
Wayne Dunham
Reply With Quote
  #8  
Old 04-01-2007, 09:48 PM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
looks like this bit me too. cmd.exe using 100% of cpu.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #9  
Old 04-01-2007, 11:51 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
I assume that everyone having a problem has at some stage enabled Start on Watch and configured either the sample script or selected their own app to run.

If that's not the case please let me know, but it should be disabled by default.

Maybe I also need to change the setup panel for Start on Watch

The app/script specified in Start on Watch will only run if Start on Watch is Enabled.

When Start on Watch is Disabled the Setup panel will show it as Disabled
When Start on Watch is Enabled the Setup panel will show it as Configure

The default is Disabled

In the Start on Watch options, if Run if no Comksip files is true then the script will only run if there are no matching comskip files for the video playing. If it's false the script will always run when a video starts playing.

To reduce the impact if running comskip add -n to any comskip command strings ie: comskip -n

None of this has anything to do with using Comskip Manager to run comskip while recording.

John
Reply With Quote
  #10  
Old 04-02-2007, 07:49 AM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
FOUND IT

JREkiwi...

that is correct. it is only when using the Start on Watch option that this happens, and only since I upgraded Sage and the STVi. Since I changed 2 things at once I can't be of any help to which one is a contributor. I'll try the -n switch when the wife's 'important' shows have recorded and see what happens. It'll probably turn out to be some little nit-picky setting that's off by a gnat's hair.

Edit: BINGO!!!

Good thing I had copied the entire Sage folder to my USB backup drive before I did the upgrade. Turns out I'd not specified (read: didn't edit the file after install) the absolute path to comskip.exe in comskip.cmd. I also specify the absolute path to the ini just to be safe. The -n option WAS already in you're original cmd file when I checked, but right now I'm not using the -n.
Now all is well in Mudville again

You'd think as much time as I spend on this machine it would know by now what I want it to do with out explicit instructions.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.

Last edited by hemicuda; 04-02-2007 at 08:04 AM.
Reply With Quote
  #11  
Old 04-02-2007, 03:43 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Thanks hemicuda, I've sorted out the cause.

The sample script was calling comskip, which of course if comskip.exe wasn't in the same directory the script would end up running itself and looping. This is bad as people have noticed.

I've change the sample script in the download so that it is calling comskip.exe, which will mean the script will not loop if Start on Watch is enabled without the script being customized.

John
Reply With Quote
  #12  
Old 04-02-2007, 06:38 PM
hemicuda's Avatar
hemicuda hemicuda is offline
Sage Icon
 
Join Date: May 2006
Location: north of Chattanooga, Tennessee
Posts: 1,118
Quote:
Originally Posted by JREkiwi View Post
The sample script was calling comskip, which of course if comskip.exe wasn't in the same directory the script would end up running itself and looping. This is bad as people have noticed.
Dang.. as much simple coding as I've done in Linux and DOS and I didn't notice the missing .exe until your post.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage

Clients: HD300 x2; HD200 x2; Placeshifter

Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc.
Reply With Quote
  #13  
Old 04-02-2007, 06:58 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,132
Quote:
Originally Posted by hemicuda View Post
... I didn't notice the missing .exe until your post.
How do you think I feel? I've looked at the import and the script code a bazillion times since I spotted this thread and it wasn't until your comment about comskip.exe that it finally clicked. Thanks. Now lets get your slow captions fixed.

John
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


All times are GMT -6. The time now is 12:55 PM.


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