🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #6937

Re: My .overview files aren't shrinking

#6937
From: Michael Faurot
Date: Thu, 25 Apr 1996 00:00
62 lines
3786 bytes
Mike Pelletier (mikep@valhalla.comshare.com) wrote:
: In article <1996Apr20.151741.15345@phzzzt.atww.org>,
: 	Michael Faurot <mfaurot@phzzzt.atww.org> wrote:
: >rhaig@austin.ibm.com wrote:
: >I've run into something similar.  I asked a similar question several
: >months back on why, according to the man page expireover(8) for Inn
: >1.4sec, that when I did a "expireover -av" I wouldn't see expireover
: >do anything except add articles.  Where in the man page it clearly
: >stated that doing a "-a" also implied doing a "-s" (to remove old
: >articles).  Turns out that version of expireover is broken--in this
: >regard.
: 
: I'm not sure about this expireover bug problem, but what I found when I
: noticed that my .overview files weren't shrinking, and I ran
: expireover -v, it turned out that the process would run out of memory
: on certain extra-large newsgroups, and I fixed that by increasing the
: default data size on my BSDI machine, and unlimiting the data size for
: the news.daily process.

I've only run INN 1.4sec, but I believe this has been fixed in the later
unoff versions.  I noticed that there was something wrong with
expireover when I would do "expireover -av".  As I am giving it the
"verbose" option with -v, it displays all sorts of lines prefixed
with a "+" character indicating various articles that it has added into
the overview system.  However nowhere will you see it display any "-"
characters showing articles that it has removed from the overview
system.

According to expireover(8) it says the following about the -a flag:

       The ``-a'' flag reads the spool  directory  and  adds  any
       missing  overview entries.  It will create files if neces-
       sary.  This can be used to initialize a  database,  or  to
       sync  up  a overview database that may be lacking articles
       due to a crash.  Overchan should  be  running,  to  ensure
       that  any incoming articles get included.  Using this flag
       implies the ``-s'' flag . . .

And from further up in expireover(8) it says this about the -s flag:

       If  the ``-s'' flag is used, then expireover will read the
       spool directory for all groups mentioned in the  active(5)
       file,  and  remove  the  overview entries for any articles
       that do not appear.

Thus one should only need to "-av" to have expireover synchronize the
overview system to add in any articles missing and remove any entries
in the overview that no longer have corresponding articles sitting out
in the spool.

As stated above, expireover, under 1.4sec doesn't seem to be
interpreting the "-a" flag as the documentation states.  Thus it is
necessary to run expireover -av once to add in any missing overview
entries and then again with "-sv" to remove any overview entries that
do not have corresponding entries in the spool.
-- 
+----------------+-------------------------+---------------------------------+
| Michael Faurot | mfaurot@phzzzt.atww.org | I programmed COBOL in college.  |
| ------- ------ | ------- ------ ---- --- | But I never compiled . . . :-)  |
+----------------+-------------------------+---------------------------------+

Technical Details
Message-ID: <1996Apr25.001541.16011@phzzzt.atww.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <4l5llk$bma@ausnews.austin.ibm.com>

Show Full Headers
Complete Article Headers
Message-ID: <1996Apr25.001541.16011@phzzzt.atww.org>
Subject: Re: My .overview files aren't shrinking
Date: Thu, 25 Apr 1996 00:00:00 +0000
From: mfaurot@phzzzt.atww.org (Michael Faurot)
References: <4l5llk$bma@ausnews.austin.ibm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 151276803
Distribution: inet
Organization: ATWW
Newsgroups: news.software.nntp