|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
slow UI and high java mem usage...
I'm trying to diagnose/fix my slow UI issues.
On my extenders the menus, at times, are slow and unresponsive. Also sometimes starting a show takes a while and I get the spinning circle of death for a bit. Navigating my video library is excruciating! The server is an older core2duo (I believe). I'm running win7 32 bit with 4GB (DDR2!) ram. The OS drive is an SSD and I'm running 4 recordings drives as 2 drives in mirror mode (intel software based). I've upped the java heap, in the past, to the max it will accept (I think) -1152MB. I still get the java heap warnings occasionally. My wiz.bin is about 25MB (years and years worth!) I'm running the stock STVI with a small amount of plugins. BMT - web interface infopupup/callerid jetty webserver sagealert SAD SJQ SJQ webui SRE sage mobile web sage web interface java heap monitor comskip playback phoenix fanart Plus a couple more.. What are the big users of the heap? Is the fan art killing me? I know the fanart directory is about 2.3GB What's the best way to diagnose this? I'm tempted to upgrade to a newer system MB with DDR3 and more memory and win7 64. I'll lose my firewire recording... but I think I can live with that. A weird possible problem I do see on one of my recording drives is it takes a long time to do any sorting in explorer. the other drive is fine! I was never able to get to the bottom of it. I'd really not like to upgrade the dedicated sage machine if I can do something else! Would I have to live without fan art? Jim |
#2
|
|||
|
|||
I had that same issue on mine, so as per advice found someplace here, I disabled all plugins, and it fixed the lag, then I re-enabled them one by one and figured out which one was causing it.
I don't remember which it was now as it was awhile ago but at any rate, that is how I isolated the cause. Hope this helps... |
#3
|
||||
|
||||
Quote:
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson Last edited by tvmaster2; 06-03-2013 at 10:58 PM. |
#4
|
||||
|
||||
Quote:
A few things will affect the amount of heap used/required. 1. Number of extenders. Extenders are basically "server side" client that send their display across to the remote extender... so each new concurrent extender is going to increase the amount of heap being used. 2. Number of plugins. Each plugin is going to require a little extra memory. 3. Fanart. It's obvious that loading images (and loading large images) is going to increase the memory requirements. But, just because you have 2.3 gb of fanart, doesn't mean that you'll be loading ALL of that into memory at once. In terms of sluggish UI... There are a couple of culprits... 1. Is your fanart local to the server/client? If you are going over the network to access fanart, it will be slow, even on a fairly fast network. There are multiple threads of people talking about caching fanart, using ramdisks, etc. 2. You can remove the entire SAGE_HOME/userdata/Phoenix/cache/ directory, and then allow the fanart to be rebuilt again. There were changes a few builds back in Phoenix (which is used for fanart) that saves the files in jpg instead of png which resulted in the cache being substantially smaller. This won't affect HEAP so much, but will make it faster to load fanart. 3. Try running Phoenix 2, and go into the settings and tell it to prescal fanart. (Just running P2 will probably make you system more responsive) 4. Lots of Disk IO. I've seen occasionally when I'm recordings 2 shows, comskip is running, and then I'm playing back a show, that I'll sometimes get a spinning circle for a few seconds, since there is lots of disk I/O 5. Slow network. I had a faulty network port on a router where lots of packets were being dropped... i replaced the router, and everything has been fine. Now, if you are seeing BSOD, then you have a hardware problem. There is no way that Java is going to produce a BSOD on it's own. Typically is java fails or SageTV crashes, you'll see javacore files lying around, but the process simply dies, it will not create a BSOD.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#5
|
||||||||
|
||||||||
Quote:
Also.. Does the number of recordings and number of imported videos play into this as well? I have over 3TB of local shows and probably over 8TB more on my unraid NAS.(which is Gig ethernet) Quote:
Quote:
Quote:
Can someone refresh my memory.. Is there an easy way to disable all the plugins such then I can enable them again without having to remember which one I had installed? Quote:
Quote:
Quote:
Quote:
|
#6
|
||||
|
||||
I'm not using the server as a frontend. I had the wife kept having issues so I just put an extender. So I'm not displaying shows on the server..
|
#7
|
||||
|
||||
Quote:
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
ok, so this app is for finding driver errors, as opposed to hardware errors?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#10
|
|||
|
|||
I am curious... are you by any chance starting the SageTV UI in the server it will share the heap with the service. I know some plugins like CMT require that you run the UI unless you use a client where you can run CMT from.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#11
|
||||
|
||||
Quote:
Not sure if I'm using CMT or not... If I have BMT.. am I using CMT? |
#12
|
|||
|
|||
CMT is separate. You should try as a service as I have found the service to use less memory.... no rendering of ui etc...
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#13
|
|||
|
|||
I have similar issues but I have more extenders - about 8 or so currently connected but rarely do I use more than 3-4 simultaneously. IMHO it looks like there is a memory leak and after all of the extenders have been on it can cause Sage to bog down. This can sometimes be cleaned up by shutting down extenders but occasionally a restart of the SageTVService or a reboot is required.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#14
|
|||
|
|||
Quote:
It does not test anything. Before you assume that your hardware is bad, check with this app and see exactly WHAT is causing the crash. If it's a hardware driver or an I/O error related to some hardware, replace the driver and see if the problem is resolved. If not, then get a hardware testing app and put the memory, hard drive, mainboard through some tests and see what you get. |
#15
|
||||
|
||||
thanks
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#16
|
|||
|
|||
I did some testing on my Test Server and Starting the Sage ui used up to 2x the memory of the Service.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#17
|
||||
|
||||
I'll have to try this....
Jim |
#18
|
||||
|
||||
digging up an old thread....
But when I tried to switch to using a service.. I got the ui config thing again? Why doesn't it remember what I had when I was not using Sage as a service? Jim |
#19
|
|||
|
|||
Simple when you use the Service the Sagetv UI will use client properties which is created when you use the service not the regular sagetv.properties.... that is created when you run just the UI or the service.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#20
|
||||
|
||||
Thanks... I think I just figured that out! Too bad it doesn't copy the server ui properties for the client as a starting point!
I think I got it all straightened out. Hopefully this will get rid of my java warnings Jim |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RAM usage is rather high! | Moskus | SageTV Software | 3 | 07-24-2009 06:11 AM |
High CPU Usage | jphhughes | Hardware Support | 4 | 12-28-2008 06:17 PM |
High CPU Usage? | Ryand833 | SageTV Software | 10 | 04-16-2008 09:21 AM |
High CPU Usage! | Screechyd | SageTV Software | 6 | 02-05-2007 09:17 AM |
High CPU Usage | Harris_C | SageTV Software | 1 | 08-24-2006 07:15 PM |