expireover

Jeffrey M. Vinocur jeff at litech.org
Tue Nov 19 15:10:16 UTC 2002


On Tue, 19 Nov 2002, Katsuhiro Kondou wrote:

> I'm not sure what is really going on, but can you
> verify what is dropped from $pathoverview?

*fiddle*  I'm not sure exactly what you mean...there's an overall decrease 
in space usage.  Does this help?


# df -h /usr/local/news/spool
Filesystem            Size  Used Avail Use% Mounted on
/dev/puckvg/spool     1.0G  717M  307M  70% /usr/local/news/spool

# ~news/bin/ctlinnd pause Testing
Ok

# du -b > /tmp/before.log

# time nice ~news/bin/expireover -f /tmp/active -Z /tmp/lowmark
    Article lines processed       55
    Articles dropped               1
    Overview index dropped         7
3.320u 23.000s 6:36.74 6.6%     0+0k 0+0io 86004pf+0w

# du -b > /tmp/after.log                

# ~news/bin/ctlinnd go Testing
Ok

# df -h /usr/local/news/spool
Filesystem            Size  Used Avail Use% Mounted on
/dev/puckvg/spool     1.0G  687M  337M  68% /usr/local/news/spool

# wc -l /tmp/*.log
   1642 /tmp/after.log
   1642 /tmp/before.log
   3284 total

# paste /tmp/before.log /tmp/after.log \
  | perl -nwe \
    '($a,$b,$c,undef) = split; ($x = $c - $a) != 0 && print "$x\t$b\n";' \
  | tail
-12288  ./t/p/t
-737280 ./t/p
-131072 ./t/r/b
-122880 ./t/r/c
-24576  ./t/r/m
-24576  ./t/r/n
-4096   ./t/r/p
-495616 ./t/r
-1884160        ./t
-32452608       .

-- 
Jeffrey M. Vinocur
jeff at litech.org




More information about the inn-workers mailing list