🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Dave Sill Fri, 27 May 2005 15:02
INN not expiring some old articles
#71709
Author: Dave Sill
Date: Fri, 27 May 2005 15:02
102 lines
4756 bytes
I'm running INN 2.3.5 installed from the RHEL 4 RPM. I noticed that
the spool was growing steadily and quickly, which it shouldn't have,
since the same expire.ctl on the old server was holding steady on a
spool of the same size. I did some spot checking, and found that some
of the articles weren't in the history DB--so I rebuilt the history
and overview DBs. Unfortunately, the problem is still there.

Here's my expire.ctl, minus comments:

/remember/:10
*:A:1:21:90
*:M:1:28:365
ornl.*:A:never:never:never
ornl.mail.*:A:1:28:never
ornl.mail.comcast-at-home:A:never:never:never
ornl.mail.bugtraq:A:1:180:never
news.newusers.questions:A:1:21:30
soc.culture.*:A:1:14:21
news.admin.net-abuse.email:A:1:14:30
talk.politics.misc:A:1:14:30
news.lists.filters:A:1:7:7
*.test:A:1:7:7
alt.binaries.*:A:1:7:7
*.jobs:A:1:5:7
*.jobs.*:A:1:5:7
us.jobs.offered:A:1:2:2
misc.jobs.offered:A:1:2:2
control.*:A:1:2:4
*.answers:M:1:30:90
news.announce.*:M:1:30:90
*.announce:M:1:30:90

Here's an example article that should have been expired:

[root@sws1 news]# ls -l /news/articles/alt/2600hz/617348
-rw-rw-r--  1 news news 1708 Apr 11 09:27 /news/articles/alt/2600hz/617348
[root@sws1 news]# head -20 /news/articles/alt/2600hz/617348
Path: sws1-new!sws1!ornl!info4.fnal.gov!newsfeed.stanford.edu!headwall.stanford.edu!news.ks.uiuc.edu!badger.ncsa.uiuc.edu!not-for-mail
From: plutchak@see.headers (Joel)
Newsgroups: alt.beer,alt.2600
Subject: Re: Is Samuel Adams a good beer?
Date: Mon, 11 Apr 2005 13:23:18 +0000 (UTC)
Organization: B.U.Z.Z.
Lines: 25
Message-ID: <d3dto6$uaa$1@badger.ncsa.uiuc.edu>
References: <3aus4nF6epmd1U1@individual.net> <Xns9631B935BD5ECfG5Vewompl8fbcK2n9m9@140.99.99.130> <KbD5e.68$lN3.434@news.uswest.net> <Xns96329B219C3BLifeIsGood@nntp.petitmorte.net>
Reply-To: plutchak AT see.headers (Joel)
NNTP-Posting-Host: badger.ncsa.uiuc.edu
X-Trace: news.ks.uiuc.edu 1113225798 15944 141.142.96.131 (11 Apr 2005 13:23:18 GMT)
X-Complaints-To: news+abuse@ks.uiuc.edu
NNTP-Posting-Date: Mon, 11 Apr 2005 13:23:18 +0000 (UTC)
Xref: sws1-new alt.2600hz:617348

ThePsyko  <ThePsyko@itookmyprozac.com> wrote:
>On 08 Apr 2005 in alt.2600, dgs <dgs1300@hotmail.com> made their 
>> Jack Land wrote:
>> 
[root@sws1 news]# 

Here's what grephistory says:

-sh-3.00$ grephistory -l 'd3dto6$uaa$1@badger.ncsa.uiuc.edu'
[2DE47BC3A84C7F0CB3769E965FE3C4DA]      1113226020~-~1113225798 @05000000000500096B840000000000000000@
-sh-3.00$ 

My most recent expire.log:

[root@sws1 news]# cat expire.log
expireover start Fri May 27 04:02:41 EDT 2005: ( -z/var/log/news/expire.rm)
    Article lines processed   734209
    Articles dropped           33264
    Overview index dropped     33400
expireover end Fri May 27 04:18:32 EDT 2005
        expirerm start Fri May 27 04:18:32 EDT 2005
        expirerm end Fri May 27 04:18:55 EDT 2005
expire begin Fri May 27 04:19:25 EDT 2005: (-v1)
    Article lines processed  2060084
    Articles retained        2034842
    Entries expired            25242
    Old entries dropped        11880
    Old entries retained     3612845
expire end Fri May 27 04:25:02 EDT 2005
        all done Fri May 27 04:25:02 EDT 2005
[root@sws1 news]# 

Checking expire.list for alt.2600 shows:

[root@sws1 news]# grep 2600 expire.list 
alt/2600hz/619788
alt/2600hz/619789
alt/2600hz/619790
alt/2600hz/619791
...

I.e., it's skipping a couple thousand old messages in that one group.

Any idea what's going on?

-- 
Dave Sill                     Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook                <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Re: INN not expiring some old articles
#71717
Author: Jeffrey M. Vinocur
Date: Sat, 28 May 2005 01:11
26 lines
2001 bytes
In article <wx0hdgo7lul.fsf@sws5.ornl.gov>,
Dave Sill  <MaxFreedom@sws5.ornl.gov> wrote:
>I'm running INN 2.3.5 installed from the RHEL 4 RPM. I noticed that
>the spool was growing [...] some
>of the articles weren't in the history DB--so I rebuilt the history
>and overview DBs. Unfortunately, the problem is still there.

Okay, I don't know why you had missing history entries to start
with.

But I think the key to your current problem is that the history
file stores the date the article arrived on the server as well as
the date in the Date header.  And I believe that when you rebuild
with makehistory, the "arrival" date is set to the date of the
rebuild.

And by default, expire uses the arrival date in calculations, to
prevent articles from vanishing quickly because of transit delays
(see -p in the expire manpage).  Thus, the article you posted as
an example isn't due to expire until 21 days from the time of
your history rebuild.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN not expiring some old articles
#71716
Author: Russ Allbery
Date: Sat, 28 May 2005 01:46
16 lines
1813 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> But I think the key to your current problem is that the history file
> stores the date the article arrived on the server as well as the date in
> the Date header.  And I believe that when you rebuild with makehistory,
> the "arrival" date is set to the date of the rebuild.

It *should* maintain the arrival date by getting it from either the mtime
of the article or the header in CNFS or timecaf, but I could be mistaken
about how it works.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN not expiring some old articles
#72813
Author: Russ Allbery
Date: Mon, 12 Dec 2005 00:35
32 lines
2600 bytes
Another very old message that I was going to respond to and then never got
to.  :/  Sorry about that.  I'm trying to get caught up again, but it
seems to be hard for me to stay that way.

Maybe now that I'm doing less news.groups stuff and I've managed to foist
it off on Dave (in part) instead.  :)

Dave Sill <MaxFreedom@sws5.ornl.gov> writes:

> I'm running INN 2.3.5 installed from the RHEL 4 RPM. I noticed that the
> spool was growing steadily and quickly, which it shouldn't have, since
> the same expire.ctl on the old server was holding steady on a spool of
> the same size. I did some spot checking, and found that some of the
> articles weren't in the history DB--so I rebuilt the history and
> overview DBs. Unfortunately, the problem is still there.

Yeah, I've seen this too, but I never figured out exactly what was going
on.  It's complicated on my own server by an old spool import and various
groups that never expire.

Are you using tradindexed overview?  If so, what I'd be very interested in
is whether the articles that aren't getting expired are present in the
overview database.  You should be able to check this with tdx-util (see
the man page).  Expiration is all overview-driven with INN these days, so
if articles drop out of the overview database for some reason, they don't
get expired.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN not expiring some old articles
#72826
Author: Bill Davidsen
Date: Tue, 13 Dec 2005 21:54
38 lines
3230 bytes
Russ Allbery wrote:
> Another very old message that I was going to respond to and then never got
> to.  :/  Sorry about that.  I'm trying to get caught up again, but it
> seems to be hard for me to stay that way.
> 
> Maybe now that I'm doing less news.groups stuff and I've managed to foist
> it off on Dave (in part) instead.  :)
> 
> Dave Sill <MaxFreedom@sws5.ornl.gov> writes:
> 
> 
>>I'm running INN 2.3.5 installed from the RHEL 4 RPM. I noticed that the
>>spool was growing steadily and quickly, which it shouldn't have, since
>>the same expire.ctl on the old server was holding steady on a spool of
>>the same size. I did some spot checking, and found that some of the
>>articles weren't in the history DB--so I rebuilt the history and
>>overview DBs. Unfortunately, the problem is still there.
> 
> 
> Yeah, I've seen this too, but I never figured out exactly what was going
> on.  It's complicated on my own server by an old spool import and various
> groups that never expire.
> 
> Are you using tradindexed overview?  If so, what I'd be very interested in
> is whether the articles that aren't getting expired are present in the
> overview database.  You should be able to check this with tdx-util (see
> the man page).  Expiration is all overview-driven with INN these days, so
> if articles drop out of the overview database for some reason, they don't
> get expired.
> 
Expire is a mess currently, it take more memory than everything else in 
the system combined, runs forever, and is generally the one reason for 
looking at "something else" for a large server.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Re: INN not expiring some old articles
#72827
Author: Russ Allbery
Date: Tue, 13 Dec 2005 22:27
14 lines
1725 bytes
Bill Davidsen <davidsen@deathstar.prodigy.com> writes:

> Expire is a mess currently, it take more memory than everything else in
> the system combined, runs forever, and is generally the one reason for
> looking at "something else" for a large server.

Help implementing something new is definitely welcome.  I have ideas but
not a tremendous amount of time.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN not expiring some old articles
#72831
Author: Marco d'Itri
Date: Wed, 14 Dec 2005 18:08
11 lines
1341 bytes
davidsen@deathstar.prodigy.com wrote:

>Expire is a mess currently, it take more memory than everything else in 
>the system combined, runs forever, and is generally the one reason for 
>looking at "something else" for a large server.
I wonder how an history DB based on memcached with a BerkeleyDB backend
would work...

-- 
ciao, |
Marco | * The Internet is full. Go away.  -- Joel Furr *
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