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

David myth at dgreaves.com
Fri Mar 11 14:31:16 UTC 2005

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?
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.


More information about the mythtv-users mailing list