🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81776

Re: INN's expire program and memory usage:

#81776
From: NPG
Date: Thu, 13 Aug 2009 04:32
89 lines
4830 bytes
* Bruce Esquibel wrote:
> 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.
> 

Which is how we are doing it right now.

> 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.
> 

That would make sense.

> 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 end result is the same.  It doesn't go through.

> 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.
> 

Makes sense.

> 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.
> 

Man, if you can /remember/:3650 ( even vaguely ) the state of NNTP
software and real OS's then, I'll listen to what you have to say.
Ten years ago, I though Win95 was an adequate OS, and didn't even own a
UTP cable.
I'll try to understand where we have been in order to appreciate where
we are today.

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

Jurassic NNTP, from what I've read.

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

Ok, will do.

I had considered running for village idiot, but honestly.
I just Read The Fine Manual and did what it suggested.  Figured that if
I didn't understand it, do what it says so I don't break it.

Thanks for the help
Technical Details
Message-ID: <h605db$s91$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!news.cmpublishers.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> <h5vfvr$9ps$1@remote5bge0.ripco.com>

Show Full Headers
Complete Article Headers
Message-ID: <h605db$s91$1@cs6.cmpublishers.com>
Subject: Re: INN's expire program and memory usage:
Date: Thu, 13 Aug 2009 00:32:37 -0400
From: NPG <nathan@cmpublishers.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> <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!news.cmpublishers.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Christ Media
Lines: 89
NNTP-Posting-Host: cm1.cmpublishers.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: cs6.cmpublishers.com 1250138347 28961 192.168.0.183 (13 Aug 2009
X-Complaints-To: abuse@cmpublishers.com
NNTP-Posting-Date: Thu, 13 Aug 2009 04:39:07 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
In-Reply-To: <h5vfvr$9ps$1@remote5bge0.ripco.com>