[mythtv-users] mythcommflag running even after deleting recording.

David Whyte david.whyte at gmail.com
Sat Mar 12 01:53:34 UTC 2005


Checking the recordings folder, it does appear to clean the output
files up.  Interesting!  I would have thought myth would have
terminated mythcommflag as soon as the file was deleted for
efficiency.

Cheers though,
Dave


On Fri, 11 Mar 2005 14:31:16 +0000, David <myth at dgreaves.com> wrote:
> David Whyte wrote:
> 
> >I just noticed that 2 mythcommflag processes are running and sucking
> >up 33% of my CPU each even though the recordings I did tonight have
> >been deleted (I only delayed watching them by a few minutes).  I
> >checked mythweb and there are no jobs running, and no recordings are
> >marked as being editted.
> >
> >This leaves me with a couple of questions:
> >1) Will the process end eventually?
> >2) If so, when?  If I have deleted the file, what is it scanning?
> >
> >Cheers,
> >Dave
> >
> >
> An interesting design feature of (most?) unixy filesystems is that when
> you delete a file it is removed from the directory listing but the
> actual filespace isn't reclaimed until all the programs using it close
> their filehandles.
> 
> Try running a wc on a huge file.
> then do it again, in the background, but this time delete the file as
> soon as wc starts.
> Then check the disk free space with df
> Then when the wc finishes, check the count is the same and that df shows
> the space is now free.
> 
> So in your case the transcode is still running on the original file but
> you won't get the space back until it exits.
> Where it's writing I don't know (I don't transcode) and whether the
> output will be cleaned up I don't know either.
> 
> David
> 
> 


-- 
GMAIL is 'da bomb baby....YEAH

I have GMail invites, if you want one, email me direct.


More information about the mythtv-users mailing list