[mythtvnz] Pixellation Every ~ 20 minutes

Paulgir paulgir at gmail.com
Sat Oct 6 01:34:18 BST 2012


On Fri, 05 Oct 2012 23:20:41 +1300, Steve Hodge <stevehodge at gmail.com>  
wrote:

> On Fri, Oct 5, 2012 at 9:52 PM, Stephen Worthington  
> <stephen_agent at jsw.gen.nz> wrote:
>> Yes, that was the problem.  Ext filesystems have a horrible delete
>> process that practically locks up the drive until it completes.  It is
>> only usually a problem with larger files, but that includes almost all
>> video/recording files.  It also happens when a large log file is
>> deleted, which happens from cron jobs.  There is no workaround - you
>> have to use a different filesystem.
>
> There is a workaround and the slow deletes option is it. Instead of  
> deleting a recording in a single operation >it progressively truncates  
> the recording to smaller and smaller sizes before finally deleting it.  
> This avoids >the issue as fewer file blocks are unlinked in each  
> operation.
>
>> If there are multiple deletions
>> coming from MythTV, there is an option somewhere for "slow deletes" or
>> something like that, which I think prevents back-to-back deletes from
>> making the problem even worse.
>
> No, it's got nothing to do with multiple deletes.
>
> Deletes don't seem to be the problem here though.
>
> Cheers,
> Steve



I have slow deletes enabled and it has not helped in my case.
Here is the log covering the period when "Supernatural" was being  
recorded.At around 22:55:00 till 24:25:00 the recording exihibits the  
pixellation.

---------------------------------------

Oct 5 22:30:00 myth mythbackend[1556]: I Scheduler scheduler.cpp:2513  
(HandleRecordingStatusChange) Tuning recording: Supernatural: channel 1002  
on cardid 4, sourceid 1
Oct 5 22:30:00 myth mythbackend[1556]: I CoreContext scheduler.cpp:637  
(UpdateRecStatus) Updating status for Supernatural on cardid 4 (Tuning =>  
Recording)
Oct 5 22:30:01 myth mythbackend[1556]: I TVRecEvent tv_rec.cpp:3989  
(TuningNewRecorder) TVRec(4): rec->GetPathname():  
'/var/lib/mythtv/recordings/1002_20121005223000.mpg'
Oct 5 22:30:11 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:30:23 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:31:16 myth mythbackend[1942]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 22:31:16 myth mythbackend[1942]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 22:32:11 myth mythbackend[1852]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 22:32:11 myth mythbackend[1852]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 22:35:00 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:35:17 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:35:28 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:40:03 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:40:20 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:40:30 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:42:59 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min
Oct 5 22:43:48 myth mythbackend[1556]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Oct 5 22:43:48 myth mythbackend[1556]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 0)
Oct 5 22:43:48 myth mythbackend[1556]: I ProcessRequest  
mainserver.cpp:1360 (HandleAnnounce) MainServer::ANN Monitor
Oct 5 22:43:48 myth mythbackend[1556]: I ProcessRequest  
mainserver.cpp:1362 (HandleAnnounce) adding: myth as a client (events: 1)
Oct 5 22:45:03 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:45:22 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:45:33 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:46:16 myth mythbackend[1942]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 22:46:16 myth mythbackend[1942]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 22:47:11 myth mythbackend[1852]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 22:47:11 myth mythbackend[1852]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 22:50:04 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:50:24 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:50:39 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:50:58 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min
Oct 5 22:55:04 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:55:28 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:55:44 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 22:57:59 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min
Oct 5 23:00:10 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:00:32 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:00:51 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:02:11 myth mythbackend[1852]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 23:02:11 myth mythbackend[1852]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 23:02:16 myth mythbackend[1942]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 23:02:16 myth mythbackend[1942]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 23:04:59 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min
Oct 5 23:05:17 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:05:34 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:05:57 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:10:20 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:10:41 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:10:59 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:11:58 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min
Oct 5 23:15:21 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:15:43 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:16:04 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:17:16 myth mythbackend[1942]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 23:17:16 myth mythbackend[1942]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 23:18:11 myth mythbackend[1852]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 23:18:11 myth mythbackend[1852]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 23:19:59 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min
Oct 5 23:20:23 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:20:45 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:21:10 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:25:27 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:25:47 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:26:10 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:26:59 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min
Oct 5 23:30:33 myth mythbackend[1556]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:30:52 myth mythbackend[1942]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:31:17 myth mythbackend[1852]: I HouseKeeping housekeeper.cpp:225  
(RunHouseKeeping) Running housekeeping thread
Oct 5 23:32:11 myth mythbackend[1942]: I Metadata_2318 jobqueue.cpp:2151  
(DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for  
Supernatural recorded from channel 1002 at 2012-10-05T22:30:00


----------------------------------------

While I'm about it I might ask if the regular:

Oct 5 23:17:16 myth mythbackend[1942]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 23:17:16 myth mythbackend[1942]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 23:18:11 myth mythbackend[1852]: E Expire autoexpire.cpp:161  
(CalcParams) AutoExpire: Filesystem Info cache is empty, unable to  
calculate necessary parameters.
Oct 5 23:18:11 myth mythbackend[1852]: E Expire autoexpire.cpp:421  
(ExpireRecordings) AutoExpire: Filesystem Info cache is empty, unable to  
determine what Recordings to expire
Oct 5 23:19:59 myth mythbackend[1556]: N Expire autoexpire.cpp:263  
(CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB  
w/freq: 7 min

Entries are an indication of any problems in my set-up?They seem to occur  
more frequently than the pixellation problem,though.

Cheers

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20121006/e07e4a44/attachment-0001.html>


More information about the mythtvnz mailing list