🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by rhaig Thu, 18 Apr 1996 00:00
My .overview files aren't shrinking
#6716
Author: rhaig
Date: Thu, 18 Apr 1996 00:00
16 lines
1003 bytes
My .overview files aren't shrinking

I looked at one of them (misc.jobs.offered was 9MB) and it had a bunch of 
articles that weren't around.

I figured, no big deal, I'll run expireover -a right?  Should remove all those
entries for articles that aren't around anymore.  Didn't happen.

ok, then I deleted the .overview for misc.jobs.offered and reran 
expireover -a  That made the .overview file only about 5MB.  Much better!

Why isn't this working, or what am I doing wrong?
--
Rob

Re: My .overview files aren't shrinking
#6742
Author: Michael Faurot
Date: Sat, 20 Apr 1996 00:00
41 lines
2552 bytes
rhaig@austin.ibm.com wrote:
: My .overview files aren't shrinking
: 
: I looked at one of them (misc.jobs.offered was 9MB) and it had a bunch of 
: articles that weren't around.
: 
: I figured, no big deal, I'll run expireover -a right?  Should remove all those
: entries for articles that aren't around anymore.  Didn't happen.
: 
: ok, then I deleted the .overview for misc.jobs.offered and reran 
: expireover -a  That made the .overview file only about 5MB.  Much better!
: 
: Why isn't this working, or what am I doing wrong?

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've just taken to running an "expireover -vs" once a week to insure
that old junk gets purged properly.  I also stopped doing "expireover"
as part of "news.daily" and instead run expireover seperatly.  When I
run expireover nightly I run it the same way that news.daily normally
would by reading the sorted listed of articles generated by expire, and
then have expireover run again with the "-av" option to insure that it
hasn't missed any articles during the day.  It takes about two hours a
night for my two passes of expireover (full feed), but it does insure
that the overview indexes stay pretty current.

Presumably when I switch to a newer release of INN this won't be an
issue/problem.
-- 
+----------------+-------------------------+---------------------------------+
| Michael Faurot | mfaurot@phzzzt.atww.org | I programmed COBOL in college.  |
| ------- ------ | ------- ------ ---- --- | But I never compiled . . . :-)  |
+----------------+-------------------------+---------------------------------+

Re: My .overview files aren't shrinking
#6786
Author: Mike Pelletier
Date: Mon, 22 Apr 1996 00:00
34 lines
2089 bytes
In article <1996Apr20.151741.15345@phzzzt.atww.org>,
	Michael Faurot <mfaurot@phzzzt.atww.org> wrote:
>rhaig@austin.ibm.com wrote:
>: My .overview files aren't shrinking
>: 
>: I looked at one of them (misc.jobs.offered was 9MB) and it had a bunch of 
>: articles that weren't around.
>: 
>: I figured, no big deal, I'll run expireover -a right?  Should remove all
>: those entries for articles that aren't around anymore.  Didn't happen.
>: 
>: ok, then I deleted the .overview for misc.jobs.offered and reran 
>: expireover -a  That made the .overview file only about 5MB.  Much better!
>: 
>: Why isn't this working, or what am I doing wrong?
>
>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.

	-Mike Pelletier.

Re: My .overview files aren't shrinking
#6937
Author: 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 . . . :-)  |
+----------------+-------------------------+---------------------------------+

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads