[mythtv-users] HD activity at begining of recording

James Orr james at orrwhat.net
Wed Oct 27 17:49:16 UTC 2004

On Wed, 2004-10-27 at 12:19, Kyle Rose wrote:
> > Somebody else mentioned memory swapping, I have 512MB on the backend
> > machine.  top reports I have 234920K free right now, it's not recording
> > at the moment.  32K of swap memory is in use.  I'll try and see what
> > happens when it starts recording (next scheduled is in 20 minutes).
> So, in my long experience with Linux 2.4 and 2.6, when you have enough
> memory swap just makes things worse.  512MB should be more than enough
> for a myth box.  Try swapoff -a and see if that fixes the problem.

I think i'm getting closer.  The problem actually didn't happen on the
last recording (which I mentioned above), but it's now commercial
flagging and is taking up almost the entire 512MB (and almost no CPU). 
If it were to start recording another show now it would almost certainly
hit the swap.  That would also explain why it happens a minute or so
after a show starts recording as I don't believe it starts flagging
previous show the instant it ends.

So ... solutions ... turn off swap ... what will happen then?  It won't
go to the hd obviously, but will that cause other problems as the
commercial flagging is taking up so much memory?  Is there a way to
limit how much memory the commercial flagging takes?

It's also possible to run the flagging process on another machine now
isn't it?  Can I run a slave backend on a machine without a capture card
and use that for flagging only?

James Orr <james at orrwhat.net>

More information about the mythtv-users mailing list