|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Quote:
__________________
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 |
#22
|
|||
|
|||
Quote:
Does the memory utilization of the java process that unraid killed seem reasonable (6GB used?)? That is SageTV java process that unraid killed as best as I can tell.... Looking at my ps output now... the only other java processes I might have running are crashplan... but crashplan is mostly idle for me. Is there a way for me to test the filesystem performance of my cache pool to ensure it is working properly?
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#23
|
||||
|
||||
Quote:
I don't recall specifically how Linux weighs processes to find a good candidate to kill, but size is a factor and I'm sure that the Java process is the largest one on your server. Maybe someone else can chime in on that one. I would try copying a few large files (like recordings) onto the cache drive, then run the mover manually to see if it crashes everything. If that causes the failure to happen again, then I might have some tips on what you could tweak to get that to stop happening.
__________________
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 |
#24
|
|||
|
|||
Quote:
But so I was able to reproduce this issue... I think I can cause the crash manually with these steps:
I guess I could repeat and try recording a single show with the mover going. Maybe a single show will also have an issue... But for now, it looks like if ever I'm recording 2 shows, and then the mover is invoked, my SageTV java process will be killed due to out of memory errors.
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#25
|
|||
|
|||
I think you must be talking about the Dynamic Cache Dirs plugin which I finally located within community apps... No, I don't have that installed. Do I need it?
I am currently trying to see if the cache tweaks suggested here will address the OOM issue: https://forums.lime-technology.com/t...comment-577424 My cache is empty now... So I'll try the mover tomorrow with 2 recordings going and see what happens.
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#26
|
||||
|
||||
Quote:
__________________
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 |
#27
|
|||
|
|||
Quote:
vm.dirty_background_ratio = 1% (down from 10%) vm.dirty_ratio = 2% (down from 20%) I have 32GB of RAM. So 1 or 2% of that is still a big number... 20% of 32GB does not seem to make any sense. I'm not clear why that would be the default... In any event, I have not had an OOM situation since then in the last week or so. Last night, the mover ran at 12am while recording 3 late night shows without incident. I'll continue checking for issues this week and report back if I see anything. ...But for now, I think the OOM issue is resolved. Thanks again! -Glen. PS: vfs.cache_pressure is a setting on the Dynamix cache dirs plugin? I need to figure out what that plugin does and whether it I need to install it.... Does this plugin help SageTV run more efficiently?
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
#28
|
||||
|
||||
Quote:
It attempts to keep a certain level of folders cached in memory. This helps if you allow your disks to spin down since it decreases the chances that you will needlessly spin up a disk that shares the folder you're in.
__________________
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 |
#29
|
||||
|
||||
I believe the upcoming 6.4 version of unRAID is changing the way Mover works, moving away from rsync, I believe. Not sure if this will change the errant behavior here, but it might do something good. I'm not sure on an expected release date for the new version though.
In any case, I think there is also a problem if your Sage process is actually using 6GB with just 4 clients.
__________________
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 |
#30
|
|||
|
|||
Quote:
Code:
top - 12:28:11 up 13 days, 22:02, 4 users, load average: 0.44, 0.63, 0.65 Tasks: 410 total, 2 running, 408 sleeping, 0 stopped, 0 zombie %Cpu(s): 7.0 us, 2.7 sy, 0.0 ni, 90.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 32878112 total, 2792252 free, 4515004 used, 25570856 buff/cache KiB Swap: 0 total, 0 free, 0 used. 26493632 avail Mem scroll coordinates: y = 1/410 (tasks), x = 1/12 (fields) PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 22286 nobody 20 0 6853208 1.407g 0 S 6.3 4.5 233:25.37 java 14482 root 20 0 6800300 899468 0 S 0.3 2.7 198:20.87 java 12216 nobody 20 0 464156 324824 0 S 0.3 1.0 95:42.71 python 15270 root 20 0 4331800 297096 6092 S 0.0 0.9 31:07.81 java 16803 nobody 35 15 1778232 199624 2252 S 0.3 0.6 13:24.33 Plex Script Hos 15656 nobody 20 0 301880 178020 6424 S 1.0 0.5 187:07.28 squeezeboxserve 15430 nobody 20 0 332400 154520 2108 S 1.3 0.5 125:21.98 deluge-web 15406 nobody 20 0 462656 141688 0 S 1.0 0.4 117:41.16 deluged 13265 root 20 0 2402964 139512 680 S 8.0 0.4 765:13.88 shfs 27535 nobody 20 0 252408 117424 7164 R 15.9 0.4 7:32.98 comskip 20823 root 20 0 237396 85800 17132 S 0.7 0.3 11:47.73 php 16766 nobody 20 0 663668 80008 16132 S 21.3 0.2 1210:17 Plex Media Serv 16977 nobody 20 0 320272 43160 1592 S 0.0 0.1 11:01.24 Plex DLNA Serve 13532 root 20 0 1730528 42580 24048 S 0.0 0.1 7:51.38 dockerd 25031 nobody 20 0 884128 42332 11144 S 0.0 0.1 0:01.31 Plex Script Hos 24988 nobody 20 0 877616 35780 11112 S 0.0 0.1 0:00.74 Plex Script Hos
__________________
Server hardware: i7-7700@3.6GHz, ASUSTek Prime H270 Pro, R5 case, 32GB, 2x250GB M.2 SSD cache (raid1), 12TB pool, HDHR Dual Tuner, HDHR Extend, CM 4221/7778 Server software: unRAID 6.9.2, SageTV v9, SageMC (high WAF), SD EPG, dockers (SageTV, Plex, Emby, Unifi Controller, Sonarr, OpenVPN, DelugeVPN, Logitech Media Center, etc.), VMs Clients: 3 x HD300, Placeshifters, 4 x FireStick4K+Android Miniclient, iOS devices+Plex |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV on Unraid server | JonL | SageTV Linux | 11 | 10-27-2019 02:48 PM |
Can you run multiple SageTV Dockers on one unRAID server? | wayner | SageTV for unRAID/Docker | 5 | 06-20-2017 10:16 PM |
Run Sagetv Client on unRaid server box? | willieb | SageTV for unRAID/Docker | 15 | 03-11-2017 07:26 PM |
New Server - SageTV+unRAID under ESXi 4.1 | stanger89 | Hardware Support | 211 | 01-07-2012 10:38 PM |
Any ideas why my server crashed? | dgeezer | SageTV Software | 2 | 02-03-2010 10:33 AM |