[mythtv-users] mythbackend hanging with thrashing disk

Jeffrey Ratcliffe jeffrey.ratcliffe at gmail.com
Tue May 17 18:02:20 UTC 2016


A month ago I said this:

> Thanks for all the suggestions on how to solve the problem with my
> disk thrashing problem.

> It hasn't happened for a week now, which makes me think that one of
> the three things I did has solved it:

> 1. I hadn't updated the default channel for each input (i.e. the
> default channel for live TV) after reordering the channels, and thus
> the default channels stored no longer existed. I corrected this.
> 2. I had a couple of channels which were encrypted. I hid them.
> 3. mysqltuner suggested that I optimise the tables due to
> fragmentation. I used mysqlcheck --auto-repair --optimize
> --all-databases

Unfortunately, it is now doing it again. For the latest crash,
mythbackend.log has:

May 17 14:01:33 pan mythbackend: mythbackend[2138]: E DVBRead
recorders/dtvsignalmonitor.cpp:322 (HandlePAT)
DTVSigMon[1](/dev/dvb/adapter0/frontend0): Program #52006 not found in
PAT!#012Program Association Section#012 PSIP tableID(0x0) length(109)
extension(0x839)#012      version(13) current(1) section(0)
last_section(0)#012      tsid(2105) programCount(25)#012  program
number     0 has PID 0x0010#012  program number 52035 has PID
0x0105#012  program number 52032 has PID 0x0108#012  program number
52034 has PID 0x0114#012  program number 52033 has PID 0x0115#012
program number 52001 has PID 0x0109#012  program number 52030 has PID
0x011e#012  program number 52029 has PID 0x011d#012  program number
52031 has PID 0x011c#012  program number 52007 has PID 0x0102#012
program number 52028 has PID 0x010e#012  program number 52080 has PID
0x010f#012  program number 52050 has PID 0x0111#012  program number
52040 has PID 0x010c#012  program number 52004 has PID 0x010d#012
program number 52008 has PID 0x0101#012  program number 52010 has PID
0x0103#012  program number 52065 has PID 0x0106#012  program number
52085 has PID 0x0110#012  program number 52096 has PID 0x0104#012
program number 52005 has PID 0x0100#012  program number 52075 has PID
0x0107#012  program number 52070 has PID 0x010b#012  program number
52002 has PID 0x0112#012  program number 52060 has PID 0x010a
May 17 14:01:33 pan mythbackend: mythbackend[2138]: E DVBRead
mpeg/mpegstreamdata.cpp:819 (ProcessPAT)
MPEGStream[1](0x7f4cc43db6a8): ProcessPAT: Program not found in PAT.
Rescan your transports.
May 17 14:01:33 pan mythbackend: mythbackend[2138]: E DVBRead
mpeg/mpegstreamdata.cpp:427 (CreatePATSingleProgram)
MPEGStream[1](0x7f4cc43db6a8): Desired program #52006 not found in
PAT.#012#011#011#011Cannot create single program PAT.
May 17 14:18:26 pan mythbackend: mythbackend[2138]: N Expire
autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required
Free Space: 1.0 GB w/freq: 15 min

So I guess I am going to have to delete all my channels and rescan.

I have two DVB-S feeds from LNBs pointing at two different satellites.
For one of them, I follow

 http://parker1.co.uk/mythtv_freesat.php

which suggests two scans, one for -S, and one for the -S2 channels,
and what with the scan for the other LNB, it is rather tiring running
three scans every time.

Is there any way of automating this?

Regards

Jeff


More information about the mythtv-users mailing list