[mythtv-users] monthly madam checkarray kills recordings

Jay Foster jayf0ster at roadrunner.com
Mon May 7 15:23:42 UTC 2018


On 5/6/2018 4:47 PM, scram69 wrote:
>
>
> On Sun, May 6, 2018 at 4:34 PM, Jerry <mythtv at hambone.e4ward.com 
> <mailto:mythtv at hambone.e4ward.com>> wrote:
>
>     On Sun, May 6, 2018 at 7:23 PM scram69 <scram69 at gmail.com
>     <mailto:scram69 at gmail.com>> wrote:
>
>
>
>         On Sun, May 6, 2018 at 2:26 PM, Gary Buhrmaster
>         <gary.buhrmaster at gmail.com <mailto:gary.buhrmaster at gmail.com>>
>         wrote:
>
>             On Sun, May 6, 2018 at 4:27 PM, scram69 <scram69 at gmail.com
>             <mailto:scram69 at gmail.com>> wrote:
>             > It's the first Sunday of the month, so I've just gone
>             through the first raid
>             > checkarray re-sync on Ubuntu 18.04, having just upgraded
>             from 14.04.
>             > /etc/cron.d/mdadm runs checkarray with the --idle
>             argument, presumably so as
>             > not to kill disk performance for other processes.
>             >
>             > However, during the array check, all recordings failed with
>             > threadedfilewriter errors:
>
>             "Idle" has different meanings to different apps.
>             You might want to throttle the max i/o rate for
>             sync (a good value will depend on your devices)
>
>                 dev.raid.speed_limit_max
>
>             is likely the sysctl to look at.
>
>
>         Thanks Gary.  I still have my old 14.04 system drive mounted. 
>         Before I sysctl -w dev.raid.speed_limit_max=some_small_number,
>         do you know where I might be able to find what the max speed
>         limit was under Ubuntu 14.04?
>
>
>     cat /proc/sys/dev/raid/speed_limit_max
>
>     should do it :)
>
>     _______________________________________________
>     mythtv-users mailing list
>     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     http://lists.mythtv.org/mailman/listinfo/mythtv-users
>     <http://lists.mythtv.org/mailman/listinfo/mythtv-users>
>     http://wiki.mythtv.org/Mailing_List_etiquette
>     <http://wiki.mythtv.org/Mailing_List_etiquette>
>     MythTV Forums: https://forum.mythtv.org
>
> Right - that would work if I were actually booted under my old system 
> (AMD64).   Unfortunately, I've upgraded both hardware (kaby lake) and 
> OS, and can no longer boot up with that drive.  With the drive mounted 
> on my new system I can inspect and copy files, but /proc is empty.
>
> I sincerely doubt I ever changed that limit under 14.04.  However, 
> I've googled around for quite a while and can't seem to find what the 
> default was.
>
> So I guess I'll just try a factor of ten: 200,000 -> 20,000 and see 
> what happens in June...
>
>
> -- 
> ________________________
> "destroying the fundamental underpinnings of the broadcast television 
> ecosystem"
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
 From my mythbuntu 14.04 system:
  cat /proc/sys/dev/raid/speed_limit_max
200000
I suspect that 200000 is the default on most linux systems and that 
there are factors other than that value that are affecting you from the 
upgrade from 14.04 to 18.04.
Jay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180507/1ffa53f1/attachment.html>


More information about the mythtv-users mailing list