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 10-13-2006, 04:55 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
100% CPU usage with SageTVService.exe

Since installing the v6 beta, I regularly experience situations where my CPU usage is 100% (all of it's sagetvservice.exe) even without doing anything on the server.

My server is headless, and does nothing but run sagetv in service mode. I connect 2 MVP to this server....and that's my whole setup.

Once i stop/restart the service (via remote access), all works fine -- for half a day or so.

I'd like to file a bug report, but I'm not sure what to include. Is there a way to dump my CPU usage (over time) to a file? I'm not sure when it spikes to 100%, just that it does.

I've watched it stay at 100% for 20min or so, so i don't think it's coming back down on its own.

thanks

matt

PS I guess it goes without saying, but my server ran v5 for weeks or months without a hiccup (or restart ). No new software other than v6.
Reply With Quote
  #2  
Old 10-13-2006, 05:05 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Quote:
Originally Posted by matt91
Since installing the v6 beta, I regularly experience situations where my CPU usage is 100% (all of it's sagetvservice.exe) even without doing anything on the server.

My server is headless, and does nothing but run sagetv in service mode. I connect 2 MVP to this server....and that's my whole setup.

Once i stop/restart the service (via remote access), all works fine -- for half a day or so.

I'd like to file a bug report, but I'm not sure what to include. Is there a way to dump my CPU usage (over time) to a file? I'm not sure when it spikes to 100%, just that it does.

I've watched it stay at 100% for 20min or so, so i don't think it's coming back down on its own.

thanks

matt

PS I guess it goes without saying, but my server ran v5 for weeks or months without a hiccup (or restart ). No new software other than v6.
If you're using the malore menus in the unsupported extras, turn them off. There's a bug that causes this CPU usage. It's supposed to be fixed in the next beta.
Reply With Quote
  #3  
Old 10-13-2006, 05:20 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
ok, i set "enable malore custom menus" to 'no' in the customize section.

we'll see what happens!

thanks for the tip - i hadn't read about it.

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #4  
Old 10-13-2006, 05:26 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
If it is because of those menus, there is an updated STV to try here. If the 100% cpu usage is happening when neither MVP is on one of the malore style 2-pane menus, then it is a different issue.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #5  
Old 10-13-2006, 06:15 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
While it seems to be very similiar, I'm not sure this is my problem.

I disabled the extras completely, but sage still happily chuggs away at 100%.

Back to my original question - any way to track the cpu usage? Gets tiring watching the graph cycle up and down for 20 minutes!

I'll monitor it w/o any MVPs running and see what happens. My hunch is that at some point it will spike again.

Matt

edit: Well, maybe I'm wrong. I've been running the server for 20min with no MVPs, and then 20min with a MVP, and I'm at 2%. Perhaps it was the problem after all.
__________________
Server: Ubuntu 16.04 running Sage for Linux v9

Last edited by matt91; 10-13-2006 at 06:47 PM.
Reply With Quote
  #6  
Old 10-14-2006, 08:21 AM
Goodspike's Avatar
Goodspike Goodspike is offline
Sage Expert
 
Join Date: Jul 2005
Posts: 599
Quote:
Originally Posted by matt91
Since installing the v6 beta, I regularly experience situations where my CPU usage is 100% (all of it's sagetvservice.exe) even without doing anything on the server..

Are you sure it's not Sagetvtranscoder? A few other people and me have reported that portion of the program using up CPU cycles.
Reply With Quote
  #7  
Old 10-14-2006, 09:15 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Yes, it's the sagetvservice.exe program. I double-checked after reading about the transcoding issue too.

I think that the unsuported extras were (hopefully) the root cause of my issues.

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #8  
Old 10-17-2006, 06:56 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
I assume this is the fix in the new 6.12 beta:

>Hidden Feature Bug Fix: Added conditionals to the FocusGained hook in the custom malore menus to prevent infinite refreshes.

can anyone confirm that it's fixed?
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #9  
Old 10-17-2006, 08:05 PM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
No, it is not. I didn't have the 100% usage issue with the previous beta, but after upgrading this morning I have it and it's already caused a BSOD while recording during primetime and has caused Sage to freeze up twice in less than 30 minutes while trying to watch pre-recorded shows.

I love Sage, but right now the v6 betas are very buggy and unstable. I've never had Sage lockup in almost 2 years until trying v6.
Reply With Quote
  #10  
Old 10-17-2006, 08:28 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by matt91
I assume this is the fix in the new 6.12 beta:

>Hidden Feature Bug Fix: Added conditionals to the FocusGained hook in the custom malore menus to prevent infinite refreshes.

can anyone confirm that it's fixed?
_If_ your 100% cpu usage was happening while sitting on the 2-pane malore style menus, then this is the same fix that I posted a link to in my last post, above. If you had 100% cpu usage while on any other menu, then this change has nothing to do with it.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #11  
Old 10-17-2006, 09:20 PM
blade blade is offline
SageTVaholic
 
Join Date: Jan 2005
Posts: 2,500
I guess I should have read the thread more closely. I don't use the malore menus. My server's cpu usage is 0-2% until I launch the client. Then it pegs out at 100% and stays there. I'm using the default stv with the unsupported extras turned off. This happens whether I'm using the service or run the gui.

I also still have the problem where the service hangs up when it is set to automatically start at bootup. I'm going to try and troubleshoot enough to file a bug report, but the problems are so bad I don't know if I can get the box to even function enough to get the data for a bug report.
Reply With Quote
  #12  
Old 10-17-2006, 09:24 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
The biggest things you would need for a bug report would be the debug logs, for both the server and the client. Debug logging should eb on by default during the beta, so just look for the sagetv_0.txt & sagetvclient_0.txt files in your SageTV dir & save them. If the problem happened on a previous run of the program, look for the _1 versions of those files.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #13  
Old 10-18-2006, 06:55 PM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Quote:
Originally Posted by Opus4
_If_ your 100% cpu usage was happening while sitting on the 2-pane malore style menus, then this is the same fix that I posted a link to in my last post, above. If you had 100% cpu usage while on any other menu, then this change has nothing to do with it.

- Andy
I'm pretty sure that this was the problem, as it's now fixed (by me disabling the unsupported extra).

The problem is that when you connect via the MVP, you're somewhat insulated from out-of-control cycles on the server. Even when the CPU was running 90-100%, my videos were running fine. It was only the menus that were *really* unusable. So I wasn't sure exactly when the CPU ramped up.

Again, seems to be fixed now. Thanks...

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
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 07:24 AM.


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