[mythtv-users] System freezes

John Pilkington johnpilk222 at gmail.com
Tue Mar 28 10:00:25 UTC 2023


On 20/03/2023 16:22, John Pilkington wrote:
> Since the end of February I've been getting occasional freezes of my 
> Fedora 36 / MythTV master box, needing a complete reboot.  Their onset 
> coincided with a major update of the desktop environment (KDE) and I 
> have posted about the problem on the fedora-kde users list; there hasn't 
> been much response.
> 
> My best clue about the cause seems to be a 'canary' from the 
> rtkit-daemon, where the 'action' has often included the freeze.  My 
> fixes-32 box (still with el7) has no canary events and I've added a few 
> lines relating to its daemon at the end.
> 
> Any suggestions?  Thanks.  The 'tda1004' refs are to drop tuner reinit 
> events that seem to be routine.

Today, for the first time, I got a similar freeze in my el7-clone box 
running fixes/32.  It had been using kernel-lt 5.4.36 from elrepo, but 
last week an update failed to see the video chip and I followed a 
suggestion to use the mainline kernel-ml, currently 6.2.8.  The canary 
has moved in.  In F36 that happened at 6.1.13

I opened https://github.com/MythTV/mythtv/issues/741  yesterday.
> 
> John P
> 
> {{{
> 
> [john at HPFed ~]$ sudo SYSTEMD_COLORS=false journalctl --since -40d  | 
> grep -v tda1004x | grep  canary
> 
> [sudo] password for john:
> Feb 27 01:39:02 HPFed rtkit-daemon[888]: The canary thread is apparently 
> starving. Taking action.
> Feb 28 18:29:01 HPFed rtkit-daemon[906]: The canary thread is apparently 
> starving. Taking action.
> Mar 02 02:41:48 HPFed rtkit-daemon[903]: The canary thread is apparently 
> starving. Taking action.
> Mar 04 02:34:24 HPFed rtkit-daemon[889]: The canary thread is apparently 
> starving. Taking action.
> Mar 07 18:54:38 HPFed rtkit-daemon[903]: The canary thread is apparently 
> starving. Taking action.
> Mar 10 01:58:04 HPFed rtkit-daemon[909]: The canary thread is apparently 
> starving. Taking action.
> Mar 13 01:19:45 HPFed rtkit-daemon[887]: The canary thread is apparently 
> starving. Taking action.
> Mar 15 02:18:06 HPFed rtkit-daemon[891]: The canary thread is apparently 
> starving. Taking action.
> Mar 20 01:57:02 HPFed rtkit-daemon[887]: The canary thread is apparently 
> starving. Taking action.
> [john at HPFed ~]$
> 
> Fixes-32 system:
> 
> [root at HP_Box john]# journalctl -S -4d | grep  rtkit
> 
> Mar 20 15:13:36 HP_Box rtkit-daemon[875]: Supervising 6 threads of 3 
> processes of 1 users.
> Mar 20 15:13:36 HP_Box rtkit-daemon[875]: Supervising 6 threads of 3 
> processes of 1 users.
> Mar 20 15:13:36 HP_Box rtkit-daemon[875]: Supervising 6 threads of 3 
> processes of 1 users.
> 
> Fedora 36 most recent exammples:
> 
> [john at HPFed ~]$ sudo SYSTEMD_COLORS=false journalctl --since -6d  | grep 
> -v tda1004x | grep -C 5 canary
> -- 
> Mar 15 02:01:03 HPFed anacron[56959]: Anacron started on 2023-03-15
> Mar 15 02:01:03 HPFed run-parts[56961]: (/etc/cron.hourly) finished 
> 0anacron
> Mar 15 02:01:03 HPFed CROND[56947]: (root) CMDEND (run-parts 
> /etc/cron.hourly)
> Mar 15 02:01:03 HPFed anacron[56959]: Normal exit (0 jobs run)
> Mar 15 02:09:32 HPFed kioslave5[57197]: kf.coreaddons: Expected a 
> KPluginFactory, got a KIOPluginForMetaData
> Mar 15 02:18:06 HPFed rtkit-daemon[891]: The canary thread is apparently 
> starving. Taking action.
> 
> 
> -- Boot 9895bb71d2bb46228c4a08159c32218a --
> Mar 15 08:32:40 HPFed kernel: Linux version 6.1.15-100.fc36.x86_64 
> (mockbuild at bkernel02.iad2.fedoraproject.org) (gcc (GCC) 12.2.1 20221121 
> (Red Hat 12.2.1-4), GNU ld version 2.37-37.fc36) #1 SMP PREEMPT_DYNAMIC 
> Fri Mar  3 17:22:46 UTC 2023
> Mar 15 08:32:40 HPFed kernel: Command line: 
> BOOT_IMAGE=(hd0,msdos1)/vmlinuz-6.1.15-100.fc36.x86_64 
> root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap 
> rd.lvm.lv=fedora/root rhgb quiet
> Mar 15 08:32:40 HPFed kernel: x86/fpu: x87 FPU will use FXSAVE
> Mar 15 08:32:40 HPFed kernel: signal: max sigframe size: 1440
> -- 
> Mar 20 01:31:17 HPFed systemd[1]: fstrim.service: Deactivated successfully.
> Mar 20 01:31:17 HPFed systemd[1]: Finished fstrim.service - Discard 
> unused blocks on filesystems from /etc/fstab.
> Mar 20 01:31:17 HPFed audit[1]: SERVICE_START pid=1 uid=0 
> auid=4294967295 ses=4294967295 subj=kernel msg='unit=fstrim 
> comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? 
> terminal=? res=success'
> Mar 20 01:31:17 HPFed audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 
> ses=4294967295 subj=kernel msg='unit=fstrim comm="systemd" 
> exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
> Mar 20 01:47:39 HPFed chronyd[1043]: Source 82.219.4.30 replaced with 
> 85.199.214.102 (2.fedora.pool.ntp.org)
> Mar 20 01:57:02 HPFed rtkit-daemon[887]: The canary thread is apparently 
> starving. Taking action.
> Mar 20 01:57:02 HPFed rtkit-daemon[887]: Demoting known real-time threads.
> 
> 
> -- Boot 4d5dcb8446434ece8c5b94538498ea6e --
> Mar 20 10:43:49 HPFed kernel: Linux version 6.1.18-100.fc36.x86_64 
> (mockbuild at bkernel02.iad2.fedoraproject.org) (gcc (GCC) 12.2.1 20221121 
> (Red Hat 12.2.1-4), GNU ld version 2.37-37.fc36) #1 SMP PREEMPT_DYNAMIC 
> Sat Mar 11 16:46:48 UTC 2023
> Mar 20 10:43:49 HPFed kernel: Command line: 
> BOOT_IMAGE=(hd0,msdos1)/vmlinuz-6.1.18-100.fc36.x86_64 
> root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap 
> rd.lvm.lv=fedora/root rhgb quiet
> Mar 20 10:43:49 HPFed kernel: x86/fpu: x87 FPU will use FXSAVE
> [john at HPFed ~]$
> 
> }}}



More information about the mythtv-users mailing list