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 07-04-2008, 05:54 AM
garyellis garyellis is offline
Sage Expert
 
Join Date: Jan 2006
Posts: 511
Sage system freezes for about 1 minute each day

I have 6.4.4. installed..but this has been a problem for a while with all versions...

each day the system locks up or freezes for about 1 minute and then after a minute, it unfreezes and the video goes very fast for about 15 seconds to catch up. Then the system just plays as normal until the next day when it repeats.

No pattern of when or what I am watching.

How can I go about figuring how what causes this? I assume I can use the debug function to see what Sage is doing. Is that the best method?

Thanks,

Gary Ellis
Reply With Quote
  #2  
Old 07-04-2008, 06:50 AM
carlgar carlgar is offline
Sage Icon
 
Join Date: Oct 2003
Location: Brentwood, TN
Posts: 1,866
I would start by checking the processes in the task manager to see what process is using most of the CPU when it happens. It could be another task using all of the CPU. If it is Sage then you should enable logging and maybe the console window. To enable the console window, create a DWORD registry value called "consolewin" at HKEY_LOCAL_MACHINE\SOFTWARE\Frey Technologies\Common\SageTV and set it to 1. It could be the garbage collection logic that could take a long time. See what the console window shows it doing when the problem occurs. I would look for something like:
[GC 133372K->126110K(192228K), 0.1176689 secs]

Be sure to note the exact time the problem occured and check the sagetv log. See http://forums.sage.tv/forums/showthr...076#post149076 for instructions to enable the log.
__________________
Server : Intel Core i7 2.8 GHz Processor: Gigabyte X58A-UD3R Motherboard: 6 GB Memory : 1 120 GB Intel SSD :3 2 TB WD hard drives:1 Hauppauge PVR 2250: 3 HDHomeRuns:1 HD300 extender;1 HD200 extender;1 HD100 extender 2 MVP Media Extenders: Windows 7 64 bit Home Premium all updates applied, SageTV V7.1.7.254.
Reply With Quote
  #3  
Old 07-04-2008, 06:54 AM
garyellis garyellis is offline
Sage Expert
 
Join Date: Jan 2006
Posts: 511
Thanks...I have checked the processes and CPU load while it is happening...The CPU load does not really change - stays around 10%. But the memory keeps increasing until it gets to about 500MB and that's usually when it unfreezes...


Thanks,

Gary Ellis
Reply With Quote
  #4  
Old 07-04-2008, 09:05 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
There are a couple of things that may be happening here.
First, if the memory is increasing, it may be that the JVM (Sage process) is allocating more memory, and in the process the garbage collection may be getting a little agressive in trying to clean up stale memory blocks.

You can try increasing the your sage heap size, and perhaps even try tweaking the garbage collection settings, if you feel confortable with that sort of thing.

You can check out this tread for some more information about the garbage collection
Reply With Quote
  #5  
Old 07-04-2008, 10:33 AM
garyellis garyellis is offline
Sage Expert
 
Join Date: Jan 2006
Posts: 511
Thanks, I changed the heap size up to about 512 several months ago..I didn't change other garbage collection settings, mostly because of ignorance about what to do with them..

Gary Ellis
Reply With Quote
  #6  
Old 07-04-2008, 11:09 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
You can try to increase you heap size again... If this is a dedicated SageTV server, then the Java Heap size should be close the amount of physical ram in the system.

If you have a multi-core system, then you can try this -XX:+UseConcMarkSweepGC. This uses a separate thread to do the garbage collection, which reduces pauses. Don't add this option if you have a single core machine, or else it will degrade performance.
Reply With Quote
  #7  
Old 07-06-2008, 08:10 AM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
Where would I put the -XX:+Use... setting?
Reply With Quote
  #8  
Old 07-06-2008, 09:20 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
in linux, you can edit the /opt/sagetv/server/startsage script, and put it there. Not sure what you'd do in windows, i'm guessing there's a startsage.bat that you can edit.

NOTE that you will want to look at the existings that are defined there and determine if they will conflict with any other setting that you add.
Reply With Quote
  #9  
Old 07-06-2008, 12:47 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I'm using Windows and I don't think there is a .bat file (I'm almost certain). You simply launch the .exe file. Maybe Opus will provide some suggestions here.
Reply With Quote
  #10  
Old 07-06-2008, 12:49 PM
garyellis garyellis is offline
Sage Expert
 
Join Date: Jan 2006
Posts: 511
I hope so....because I've been lost for the last 4 or 5 posts...


Gary Ellis
Reply With Quote
  #11  
Old 07-06-2008, 04:56 PM
infocus13's Avatar
infocus13 infocus13 is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 199
I'm curious about this -XX setting as well... Where does it go on a Windows Sage installation?
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
Sage freezes HD extender with spdif connection BBCritical SageTV Software 1 01-17-2008 10:55 AM
No joy using a Mac Sage system McCoroner SageTV Mac Edition 0 08-11-2007 01:25 PM
Re-Install Sage on Vista System rodo55 SageTV Software 2 06-05-2007 07:14 AM
After Lockup - Sage Not working wolfpackmars2 SageTV Software 3 08-05-2006 10:23 PM
Old, slow system works; New, fast system stumbles SteveP Hardware Support 8 01-22-2006 10:29 PM


All times are GMT -6. The time now is 09:37 PM.


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