mhonarc-users

delmsg + MAXSIZE windowing

1999-01-05 16:50:38

Hi all,

I commented out the following lines in delmsg in mhamain.pl, then
added a MAXSIZE of 3000 to the rcfile of an archive which had about
10000 messages. The goal is a windowing effect, where a small MHonArc
database runs a big archive containing lots and lots of HTML message
files.

The results were unusual. First, the time required to add new messages
dropped from 20 minutes to less than three minutes. (GREAT!)  On the
flip side, the MHonArc indexes did not work as hoped.  The initial
thread index page showed no change (and continues to not change, even
as more messages are added) The first date index page now shows a
rather old set of messages, and also does not appear to update as new
messages are added.

Did I make an obvious mistake?

Thank you,
Jeff

PS This is obviously an unsupported topic and I don't want to waste
people's time - so please send me on my way if this topic is too
esoteric.

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

#    &file_remove($filename);
#    foreach $filename (split(/$X/o, $Derived{$key})) {
#       $pathname = (&OSis_absolute_path($filename)) ?
#                       $filename :
#                       join($DIRSEP, $OUTDIR, $filename);
#       if (-d $pathname) {
#           &dir_remove($pathname);
#       } else {
#           &file_remove($pathname);
#       }
#    }



% mhonarc -v
  MHonArc v2.3.3 (Perl 5.00404)
  Copyright (C) 1995-1998  Earl Hood, earlhood(_at_)usa(_dot_)net
  MHonArc comes with ABSOLUTELY NO WARRANTY and MHonArc may be copied only
  under the terms of the GNU General Public License, which may be found in
  the MHonArc distribution.

The full rcfile is rather long... so I'm just including the bits that
seem most relevant.

<REVERSE>
<TREVERSE>
<TLEVELS>
1
</TLEVELS>
<MULTIPG>
<IDXSIZE>
300
</IDXSIZE>
<DATEFIELDS>
x-archive-with-date:received:date
</DATEFIELDS>
<MAXSIZE>
3000
</MAXSIZE>

Relevant command line options were

-add -nolock -savemem -quiet -rcfile rcfile -tidxfname index.html



<Prev in Thread] Current Thread [Next in Thread>