[mythtv-users] Second mythbackend process on slave backend

Chris Pinkham cpinkham at bc2va.org
Tue Mar 25 02:51:55 UTC 2008


* On Tue Mar 25, 2008 at 12:32:47PM +1100, Matthew Jurgens wrote:
> I've also noticed a second process.

> It appears not to be a new daemon process but something related to maybe 
> video preview or something. I can't quite recall. You can see the argument  
> list in the output of a ps -ef which gives you a clue as to what it is.

It's the preview generator probably.  MythTV 0.21 fires off another
instance of mythbackend to generate the preview pixmap for a recording.
This new copy doesn't run the scheduler or talk to tuners or anything
like that, it just runs the preview generator code.

It does this so that deficiencies in the libav* handling of corrupt
datastreams don't cause the main mythbackend instance to crash.  This
is the same reason that commercial flagging was broken out into a
separate mythcommflag binary years ago, it just hasn't been a big
enough issue with the preview generator until now.  Originally
commercial flagging ran as just a separate thread in mythbackend.

--
Chris


More information about the mythtv-users mailing list