[mythtv-users] Autoexpire issues

m0j0.j0j0 m0j0 at foofus.net
Fri Sep 12 13:48:05 EDT 2003


Chris-

On Thu, 2003-09-11 at 16:38, Chris Pinkham wrote:
> Could you go into programs/mythbackend/autoexpire.cpp and add some
> debugging statements?
> 
<snip>

I added the printf lines and pasted the output below. The 'freespace'
line appeared to be accurate prior to any actual autoexpiring and
autoexpire kicked in at the appropriate time (5G free). Unfortunately,
it seems to have then deleted more (~9G) than necessary. I now have ~14G
free in the partition, even though autoexpire thinks 5G:

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda7            106962592  87213624  14227832  86% /pub


Is it supposed to be freeing up that much space or keep the system right
at my 5G free limit? Thanks for taking a look at this. Let me know if I
should be checking anything else.

This is CVS from 8/28. I saw you did a commit yesterday, not sure if
that would be related to this or not...


Joe



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

Changing from RecordingOnly to None
2003-09-12 12:00:05 Started recording "Law & Order" on channel: 1032 on
cardid: 1, sourceid 1
Input #0, mpeg, from
'/pub/media/myth/1032_20030912110000_20030912120000.nuv':
  Stream #0.0: Video: mpegvideo, 640x480, 29.97 fps, 16000 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Changing from None to RecordingOnly
2003-09-12 12:00:06 Position map found
2003-09-12 12:00:08 Found changes in the todo list.
 
bavail  = 1661569
bsize   = 4096
bfree   = 3041853
freespace = 6
bavail  = 1501429
bsize   = 4096
bfree   = 2881713
freespace = 5
bavail  = 1341439
bsize   = 4096
bfree   = 2721723
freespace = 5
bavail  = 1181702
bsize   = 4096
bfree   = 2561986
freespace = 4
2003-09-12 12:35:59 Running AutoExpire: Want 5 Gigs free but only have
4.
2003-09-12 12:35:59 AutoExpiring: Law & Order Tue Aug 26 19:00:00 2003
3773 MBytes
bavail  = 1181382
bsize   = 4096
bfree   = 2561666
freespace = 4
2003-09-12 12:36:00 AutoExpiring: Dilbert Thu Aug 28 01:00:00 2003 1936
MBytes
bavail  = 1229802
bsize   = 4096
bfree   = 2610086
freespace = 4
2003-09-12 12:36:01 AutoExpiring: That '70s Show Fri Aug 29 18:00:00
2003 1900 MBytes
IOBOUND - blocking in ThreadedFileWriter::Write()
bavail  = 1266692
bsize   = 4096
bfree   = 2646976
freespace = 4
2003-09-12 12:36:02 AutoExpiring: South Park Sun Aug 31 01:00:00 2003
1935 MBytes
IOBOUND - blocking in ThreadedFileWriter::Write()
bavail  = 1335238
bsize   = 4096
bfree   = 2715522
freespace = 5
2003-09-12 12:36:04 Done AutoExpire, 5 Gigs now free.
IOBOUND - blocking in ThreadedFileWriter::Write()
IOBOUND - blocking in ThreadedFileWriter::Write()
IOBOUND - blocking in ThreadedFileWriter::Write()
IOBOUND - blocking in ThreadedFileWriter::Write()




More information about the mythtv-users mailing list