SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2020, 11:08 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
SageTV playback stalls when mover running

I've noticed since upgrading to unraid 6.7.2 a few months ago that SageTV playback now freezes or stutters at exactly midnight every day. This lasts 5-10 minutes, and then playback recovers. Playback recovers by actually going high speed with no sound for several minutes until it catches up. After the 5-10 minutes, I usually stop and restart playback instead to resume normal playback.

I checked the unraid server log and noticed that the mover is running at that time.

My mover is set to run every 4 hours and since many shows are recorded during primetime and I'm also watching TV at midnight, I see the issue then. I takes about 5-10 minutes to copy a few GB of shows from the cache to the array.

My config is in my sig and my hardware is pretty decent... So I'm hoping this should be a tuning issue of some kind.

Has anyone else observed this and figured out a way to performance tune the system so this issue is mitigated?
__________________

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
Reply With Quote
  #2  
Old 01-31-2020, 10:13 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Why record to the cache rather than straight to the array? That's what I do. I don't record a ton of shows, but I will have had instances where I simultaneously record two shows from my HD-PVRs and one from OTA.
__________________
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
Reply With Quote
  #3  
Old 02-01-2020, 04:12 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
I have 4 tuners and so could conceivably record 4 HD shows at once, though I think realistically I'd only ever have 2 recordings going simulaneously, and could also be playing back 1 show at the same time.

Just for performance reasons I assumed it makes sense to record to the cache, and have the mover go on a schedule... I've always had it this way for a few years now.

I also thought this would result in less wear and tear on the array, or at least the parity drive.

Is this thinking flawed? Most people record straight to the array?
__________________

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
Reply With Quote
  #4  
Old 02-01-2020, 06:45 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
I record to the cache too, but I have the mover set to run once a day at 4am. When it is running, it can really affect playback, so I scheduled it for a time when no one is normally trying to watch TV.

The reason I used the cache is to reduce the amount of time all the disks are spun up. I have my recordings only go to one disk in my array, so usually only one disk is actually spun up at any given time. Limiting my recordings to one disk also greatly decreases any delays in SageTV navigation related to a disk spinning up.

Edit: I want to note that I've also see the described behavior when the mover wasn't running. It turned out to be a disk in my array was failing (not the recordings disk).
__________________
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

Last edited by EnterNoEscape; 02-01-2020 at 06:47 PM.
Reply With Quote
  #5  
Old 02-07-2020, 09:34 PM
glenner glenner is offline
Sage Advanced User
 
Join Date: May 2010
Location: Toronto, ON
Posts: 99
Thanks. Good to know that writing recordings to the cache is sensible. It seems to me that's the correct setup for SageTV. I also have a single drive in the array where I move my recordings to. While the ability to stripe a share across multiple drives is potentially a useful feature of unraid, I just prefer to know which physical drive my stuff is on. If ever I need to somehow recover some files, I just want to have my folders (shares) on one drive, and not spread out over several drives. I have sagetv recordings on one drive, movies on one drive, home movies on another, photos on another, etc.

In any event, I'll try setting the mover to once a day, early AM and see if that works. I think I had a problem with that as my cache is 250GB, and 100GB is constantly in use for appdata and other stuff, and so the recordings may actually fill my cache. I recorded the Superbowl the other day on 2 channels in case one channel crapped out, and that takes 50GB total.

I'll give this a shot...
__________________

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
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
UI crash on playback if service is running tombailey SageTV Software 0 12-11-2010 10:03 PM
SageTV Newbie: Any problem with running SageTV Media Center on primary computer? botsmack Hardware Support 10 05-14-2009 11:44 AM
Playing Imported Videos stalls Sage pants55 SageTV Software 2 06-14-2007 09:08 AM
SageTV 4.0 service - opening Sage UI hangs running SageTV client Surtr SageTV Software 1 11-10-2005 01:25 PM
SageTV hangs on start if SageTV Service is Enabled/Running zwombat SageTV Software 10 11-08-2004 02:57 PM


All times are GMT -6. The time now is 12:34 PM.


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