🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81768

Re: INN's expire program and memory usage:

#81768
From: Bruce Esquibel
Date: Wed, 12 Aug 2009 22:33
59 lines
3813 bytes
NPG <nathan@cmpublishers.com> wrote:

> /remember/:365
> *:A:1:365:never

> If I'm understanding it correctly, our current configuration will hold
> the article for a year, expire it, then, retain the entry in history for
> another year.

I beleive that is true.

Again, there might of been some changes/additions when CNFS came into the
picture but I'm pretty sure the stuff with that /remember/ is the same as it
was in the old days of tradspool and overview indexes.

That line controls how long the entry is stored in the history file and
related database, reguardless of what happend to the article.

I'm also still pretty sure that all articles offered you, no matter if they
were rejected, refused, accepted then expired or accepted and never expired
get written into the history.

Maybe it's the voices in my head but I seem to remember a discussion about
this and if it was a good idea. Keep in mind I think earlier version of INN
didn't do pipelining (think that what it was called), each article was sent
one-by-one and the pipelining allows mutiple groups of headers to be sent at
once. I guess you can just call it a streaming feed these days.

The logic of the whole thing, to write everything to history was based on
the logic that it was more efficent to store the token, even if the article
was refused or rejected (still never can remember which is which).

The idea behind that was something with the database storage and history
being a fifo or filo construction. If like a system has 20 feeds coming in,
if an article came in from feed1, and was dropped (group not carried),
logically in a few seconds it would likely show up from feeds 2 to 20, again
and again and again.

If it wasn't written in from feed1, there was a lack of efficency somewhere
having to muddle through the whole database looking for something that
wasn't there, again and again and again. If it was written in, but tagged
like unavailable or something, it would behave the same way as if it was a
duplicate.

I dunno, keep in mind this crap probably goes back 10 years, most OS's
didn't even have a decent mmap in kernel code. All these issues were looked
at and thought about when there was a fear news boxes couldn't keep up with
the flow. There was some limitation of like 30 arts/sec (or 100, I really
don't remember, honestly) but all these save a millisecond here and there
added up when handling millions of articles a day.

These days you can probably go back to cnews/nntpd without much fear of
falling behind.

Anyway, short answer, edit the /remember/ line down to 7 or 10 and start
breathing easier.

-bruce
bje@ripco.com
Technical Details
Message-ID: <h5vfvr$9ps$1@remote5bge0.ripco.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.ripco.com!not-for-mail
References: <h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4lq1g$4kc$1@snarked.org> <h4mt3v$777$1@remote5bge0.ripco.com> <h5tamr$m0u$1@cs6.cmpublishers.com> <h5uoqh$e8a$1@remote5bge0.ripco.com> <h5v9dk$9pd$1@cs6.cmpublishers.com>

Show Full Headers
Complete Article Headers
Message-ID: <h5vfvr$9ps$1@remote5bge0.ripco.com>
Subject: Re: INN's expire program and memory usage:
Date: Wed, 12 Aug 2009 22:33:31 +0000
From: Bruce Esquibel <bje@ripco.com>
References: <h4lj94$4c8$1@snarked.org> <873a8hh98m.fsf@windlord.stanford.edu> <h4lq1g$4kc$1@snarked.org> <h4mt3v$777$1@remote5bge0.ripco.com> <h5tamr$m0u$1@cs6.cmpublishers.com> <h5uoqh$e8a$1@remote5bge0.ripco.com> <h5v9dk$9pd$1@cs6.cmpublishers.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.erje.net!news.ripco.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Ripco Communications Inc.
Lines: 59
NNTP-Posting-Host: shell3.ripco.com
X-Trace: remote5bge0.ripco.com 1250116411 10044 74.8.102.118 (12 Aug 2009
X-Complaints-To: usenet@ripco.com
NNTP-Posting-Date: Wed, 12 Aug 2009 22:33:31 +0000 (UTC)
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (SunOS/5.10
 (i86pc))