|
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
|
|||
|
|||
High CPU Usage with SageTV
Hi.
I recently upgraded my SageTV system with a new Intel Pentium D 915 and ECS motherboard. My old system, AMD CPU and ECS mb was old and dying. I installed latest SageTV 6.1.19 and moved everthing over. Everything is fine EXCEPT that now, after SageTV has been up for a few hours, it mysteriously begins to use up around 80% of the CPU while there is nothing going on (no recordings, no showing, etc). So it starts and all is well, 0-2% CPU usage and then, later on it's at 80% cpu usage with SageTV process and nothing going on with Sage. Never had this problem before upgrading. I am trying to see if I left something obvious out or if this is a known problem? |
#2
|
||||
|
||||
My experiences with 6.1.19 are about exactly the same. My Pentium D 940 with 3 gigs of ram along with a fresh install of windows running only Sage (not even recording, or transcoding) was crippled. Previous to that I was running 6.0.19 no problems what-so-ever. I ultimately went back to 6.0.19. Nothing I did with 6.1 worked for me. 6.0 is still working perfectly for me Not sure what to tell you. I would be curious to know if others have experienced this with 6.1.9 and if there is a fix.
|
#3
|
|||
|
|||
Quote:
|
#4
|
|||
|
|||
Are you running any other clients or MVP? I had the exact same problem when I upgraded to 6.1.19, but when I ran sage in service mode, it fixed everything.
__________________
Dell Inspiron 530 desktop, Intel Core 2 Duo 2.8 ghz, 6 gigs of RAM, 1 WesternDigital 750 gig hard drive partitioned in 75 gig/675 gig, 1 Seagate 2 TeraByte Hard drive: 1 HDHR Prime-CC, 1 Hauppauge HD-PVR with Hauppauge 45 button remote with blaster to control 1 Explorer 4640HDC, Windows 7 64bit SP1 all updates applied, SageTV 9.1.7.757, Java v1.7.0_79, SageTV Webserver v3.3, SageTV Mobile Web Interface v2.1.0.47, 2 Hauppauge MediaMPVs & 1 Helius MPV. |
#5
|
||||
|
||||
You may also want to make sure that the BIOS is updated for your motherboard; I had a similar problem with transcoding using an excessive amount of one CPU. After I updated the BIOS (which included support for my CPU), the problem went away.
Just a thought. Stu |
#6
|
|||
|
|||
Sage is aware of the problem but there are unable to duplicate it. Narflex made a recent post about it but I am unable to locate it. When you see the high usage, check the number of threads. If the number of threads is more than 100 then you probably have the same problem I saw. The fix given to me by support was to set the following true in the sage properties file:
ui/disable_native_image_loader=true If this corrects your problem and you are willing to give support remote access to your system and you have DSL or faster access, you should let support know. They are still looking for the exact cause of this issue.
__________________
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. |
#7
|
|||
|
|||
Thanks guys.
I will make sure my BIOS is update as well and will try the config add line. By the way, how do I run Sage in "Service Mode"? |
#8
|
||||
|
||||
Quote:
And thanx for the tip Carigar
__________________
If this doesn't work right, Then: "I'm going to blow up the Earth!" |
#9
|
|||
|
|||
I don't use service mode so I am not sure. I changed it only only for Sage itself. I have not seen the problem in the client. I doubt if it would hurt to set it in the client.
__________________
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. |
#10
|
|||
|
|||
What do you mean by "more than 100 threads"....?
Andrew
__________________
Sage server in service mode..2 MVPs both w/ MCE |
#11
|
|||
|
|||
I am not really sure what your question is. Use the task manager to view the number of threads currently used by SageTV. SageTV normally uses about 60 threads. The high CPU issue is cause by Sage starting threads that never go away. I have seen as many as 800 threads in use by Sage (when the problem occurs) and that is what is eating the CPU cycles.
__________________
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. |
#12
|
|||
|
|||
Ok, I tried EVERYTHING listed here (except downgrading to 6.0.19) and nothing worked.
I even re-installed Windows-XP, re-setup everything, same problems. So, where can I get Version 6.0.19 to downgrade? I see the web link, but it point to the main web page which goes to 6.1. P.S. My thread count for SageTV is very high, 200 or more when the problem starts as Calgar noted. Last edited by joe123; 06-13-2007 at 09:13 PM. |
#13
|
||||
|
||||
HELP! I'm having the same problem. I recently upgraded ALL of the hardware on my sage box (new motherboard, CPU, fresh XP installation, fresh SageTV installation).
When I start SageTV all is well.. but it seems that if I come back to it after a few hours the CPU is pegged very high and on the task manager that I use (irsan taskinfo) it indicates that the majority of this time is "Kernel" time, even though it says that SageTV is responsible for it. I tried setting ui/disable_native_image_loader=true and this had no effect.. problem is still there. I have 4 encoders: A Hauppauge PVR-250, PVR-350, and a dual-encoder HDHR (networked encoder mode, *NOT* using the BDA driver hack). I installed brand new drivers from Hauppauge's website since this is a fresh system install. I'm not sure if that has anything to do with it or not. SageTV is pretty useless right now for me so I am at anyone's disposal if they have any suggestions on how to fix this!!!! -Dan |
#14
|
|||
|
|||
Ok, I found the problem.
Before I go into details, let me wait 1 day to make sure the problem has in fact gone away. So far, it's been up for 2 hours with lots of usage and NO high CPU usage like before. If by tomorrow the system is still normal, I will explain what I did and what is causing the high CPU usage. Joe |
#15
|
||||
|
||||
Adding some information here... So on Irsan TaskInfo, it shows the sageTV process as having 980 windows,... and it's steadily increasing. about 2 windows every 30-60 seconds. So in the course of writing the note and monitoring it it's now up to 1000. This has to be what is causing the huge amount of kernel time and the resulting swamping of CPU cycles.
What could be causing Sage to open so many Windows -- and by windows, I mean Threads I think.. I think that's what TaskInfo means when it lists Windows. -Dan |
#16
|
||||
|
||||
joe123 - I'm very interested to know what you are trying to do to fix the problem. Let us know your results ASAP!
|
#17
|
|||
|
|||
Quote:
There have been previous discussions of handle leaks here - in older versions. Some were attributed to certain versions of JVM. |
#18
|
|||
|
|||
Quote:
I will be checking in to read your solution for the high CPU usage problem in 6.1.19. I was dealing with this for weeks and ended up downgrading back to SageTV 6.0.19. |
#19
|
||||
|
||||
I may be joining this a litttle late, but have you upgraded to Java 6 yet?
|
#20
|
|||
|
|||
Personally I tried both Java Versions 5.0 and Version 6, the CPU pegging was the same. Sage starts out after a fresh install with 0-20% CPU usage and then, later after a few hours it's pegging at 100% sometimes with nothing being recorded or watched.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTVService High CPU Usage | tfurlong | SageTV Software | 0 | 05-01-2007 06:43 PM |
High CPU Usage! | Screechyd | SageTV Software | 6 | 02-05-2007 09:17 AM |
High cpu usage with Purevideo | matrix35 | General Discussion | 5 | 01-06-2007 11:03 PM |
High CPU usage when recording | sunray | SageTV Software | 1 | 08-22-2006 08:13 AM |
Stuttering and high CPU usage... | jbuszkie | SageTV Software | 7 | 01-03-2006 11:16 AM |