Article View: news.software.nntp
Article #81781Re: INN's expire program and memory usage:
From: Julien ÉLIE
Date: Thu, 13 Aug 2009 09:27
Date: Thu, 13 Aug 2009 09:27
47 lines
3697 bytes
3697 bytes
Hi Bruce,
> 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.
Hopefully the server does not keep looking for that when the same article
comes from feeds 2 to 20.
It directly looks at its cache. See the hiscachesize: parameter in inn.conf.
hiscachesize
If set to a value other than 0, a hash of recently received Message-IDs
is kept in memory to speed history lookups. The value is the amount
of memory to devote to the cache in kilobytes. The cache is only used
for incoming feeds and a small cache can hold quite a few Message-IDs,
so large values aren't necessarily useful unless you have incoming feeds
that are badly delayed. innreport can provide useful statistics regarding
the use of the history cache, especially when it misses. A good value for
a system with more than one incoming feed is 256; systems with only one
incoming feed should probably set this to 0. The default value is 256.
> Anyway, short answer, edit the /remember/ line down to 7 or 10 and start
> breathing easier.
I do not think it will change much (unless for expired articles within
the last 365 days).
--
Julien ÉLIE
« -- Essayons d'interroger ce garde habilement sans éveiller ses soupçons...
-- Hep ! Où est enfermé Assurancetourix ? » (Astérix)
Technical Details
Message-ID:
<h60ma3$ajq$1@news.trigofacile.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!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<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: <h60ma3$ajq$1@news.trigofacile.com> Subject: Re: INN's expire program and memory usage: Date: Thu, 13 Aug 2009 11:27:13 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> 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!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 47 NNTP-Posting-Host: amontpellier-159-1-41-85.w90-57.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1250155651 10874 90.57.68.85 (13 Aug 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Thu, 13 Aug 2009 09:27:31 +0000 (UTC) In-Reply-To: <h5vfvr$9ps$1@remote5bge0.ripco.com> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049