|
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
|
||||
|
||||
Server Lockups with 3 or more HD300s connected
Hello:
So recently I added a 3rd HD300 to my setup for our guest bedroom, which is now getting used a lot more. However since then I keep experiencing circle's of death / server lock ups, so bad that the service itself won't shut down and I have to actually reboot the whole machine. I'm running Sage v7 still, on windows 7 ultimate (64bit), Java VM heap size set to 1020mb. when it happens I can see that the memory usage for the SageTVService has gone well above 1100mb. I only run a few plugins, play on, and imdb search / metadata tools, no comskip or crazy ui mods or anything. I suspect I'm running into the old problem of the server simply not being able to support more than 2 extenders at a time on Windows. . .any thing I can do? I'd rather not switch over to linux (although I may have to I guess). Thoughts? Sean
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#2
|
||||
|
||||
Does sounds like the heap is too small. The biggest thing that takes up space is fanart. Turning it off might seriously smooth it out until you can sort out what you're wanting to do long term. Honestly, if I'm building a system from scratch right now, I'm going to use Linux for it - and I'm really not familiar with Linux at all - it's just that 64-bit jvm is such a huge benefit in my eyes, especially for a fanart heavy setup.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#3
|
||||
|
||||
Quote:
__________________
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 |
#4
|
||||
|
||||
I can speculate that you probably won't suddenly have Windows capture devices showing up as v4l2 devices, but it would be very interesting if at least network based devices would work.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#5
|
||||
|
||||
Yeah I mean I could switch to linux, but then it ends up being a dedicated piece of hardware, whereas right now my server i also use a workstation of sorts for media processing and what not. Plus playon, and other things. . .
Curious though I wonder if I could run a linux VM on windows and things would work well. . . (i seriously doubt the drivers for hardware would all work correctly. . but maybe). It's too bad you can't have a master/slave server-setup. . . then you could just have multiple instances of the server running to solve that problem regardless of the JVM, and just have the master act as bridge/message engine. . . hmmm.
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#6
|
||||
|
||||
I'll definitely try shutting off the fan art stuff.
Right now with just 1 extender turned on. . .(and someone watching tv), the memory usage of the server is ~524MB.
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#7
|
||||
|
||||
It's hard to just look at the mem usage. Java will just keep eating memory as it needs it, but eventually the garbage collector will kick in. So if you set a max jvm size of 1.2 gigs java will eventually reach that, but it doesn't mean it's out of memory... just means that now it will start having to run the garbage collector more often. Really until you get an actual OutOfMemory error in the JVM... you haven't actually run out memory, even if it's consuming the full amount.
__________________
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 |
#8
|
||||
|
||||
well yeah of course. . . and it may not be a direct memory usage thing either, but it's pretty clearly IO related.. . the behavior is super consistent.
After 24-36 hours: Mem usage grows above what should be the max When it's close to this I can notice on my extenders that the frame rate slows down slightly even though I know for sure it's not a bandwidth problem and it's all hardwired. From there someone goes and tries to change a channel or start recording something new. At that point one of the HD-PVRs kicks on just fine, and it all looks like the recording is happening, and sure enough I can even see data getting written to the given TS file. But then the Circle of Death appears. . . At that point, like i said, I can't shut down the service, it just totally fails to respond. And if I say, reset the given HD-PVR at that point, all the sudden my whole system slows to a crawl so much that even taskmanager or procexp cannot paint to show me what's happening. Either way I'm basically forced to reboot the whole PC. And this only seems to happen if I have more than 2 extenders running. Never had this problem with just 2. I'll enable debug-logging and see what else I can see.
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned Last edited by sdsean; 04-16-2016 at 05:06 PM. Reason: misspell |
#9
|
|||
|
|||
Quote:
I'm working on setting up a linux vm along side my Windows VM on unRAID for the linux version of SageTV. I have to have both because my AVerMedia Duets don't have linux drivers so I'm going to use the current Windows SageTV install with the windows drivers to provide them as network encoders. HDHomeRuns already work in linux for me on a test I ran several months ago. Just have to upgrade the linux kernel so the HDPVRs and HVR-2250 are recognized natively. Hope to get time next month.
__________________
"Keep your goals away from the trolls" |
#10
|
||||
|
||||
Well Bob if you get that working let me know. .. if I could setup a beefy enough linux vm on Windows and get the drivers all to bridge right (serial tuning and the hd-pvrs), then that would be ideal for me so that I can still stay on a windows machine. Plus a vm would be easier to deal with in terms of reboots and what not.
unraid looks more to me like a partitioned boot though. . . am I reading the docs wrong? I was thinking more like running VMware with a linux ubuntu or redhat image.
__________________
AMD Ryzen 9 3900XT 12 Core+HT, 64GB DDR5, GeForce 1060, MSI Prestige x570 Creation Mobo, SIIG 4 port Serial PCIe Card, Win10, 1TB M.2 SSD OS HDD, 1 URay HDMI Network Encoder, 3 HD-PVR, 4 DirecTV STB serial tuned |
#11
|
|||
|
|||
Quote:
unRAID is a NAS primarily but they have added VMs and dockers to v6. The problem with running SageTV on a docker is the drivers have to be installed on the boot OS (unRAID) to work natively with the SageTV docker. Now there is a plugin that will compile new linux kernels for unRAID to have some of the media tuner drivers but I decided that I want it to be just a VM platform since I have to have at least one Windows VM for my AVerMedia Duets. So I'm going the linux VM route on unRAID along side the Windows VM. I may even have a second unRAID installed on the same box as a VM and use the BOOT unRAID as a virtualization platform only. I can't use my ESXi 5.0 on my new MB because it is a dual CPU MB and the free version of ESXi 5.0 will only work with a SINGLE physical CPU (I believe even the more current free versions are also limited this way). My new MB and dual CPUs has dual 8 core CPUs with hyperthreading (32 theads) and 128GB memory. My other unRAID servers are going to be shut down completely most of the time to save HDDs as long as possible rather then running the servers and just spinning down the drives but leaving power to the drives in standby mode. I got the CPUs and memory off eBay for greatly reduced prices.
__________________
"Keep your goals away from the trolls" |
#12
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#13
|
|||
|
|||
Check this out too, what happened to me.
http://forums.sagetv.com/forums/showthread.php?t=62873 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HD200 slow when connected to server | ChrisNH | SageTV Media Extender | 1 | 09-25-2013 09:52 AM |
SageTV Client lockups and associated server side error | Surtr | SageTV Software | 1 | 05-28-2007 06:55 AM |
Random Server Lockups | deliverer | SageTV Software | 0 | 12-05-2005 02:02 PM |
Problem getting the sage client connected to the sage server | modurn | SageTV Software | 1 | 07-21-2005 10:37 AM |