🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81780

Re: INN's expire program and memory usage:

#81780
From: Julien ÉLIE
Date: Thu, 13 Aug 2009 09:17
35 lines
2638 bytes
Hi Black Dragon,

> From expire.ctl;
>
> ##  If article expires before 10 days, we still remember it for 10 days in
> ##  case we get offered it again.  Depending on what you use for the innd
> ##  -c flag and how paranoid you are about old news, you might want to
> ##  make this 28, 30, etc, but it's probably safe to reduce it to 7 in most
> ##  cases if you want to keep your history file smaller.
> /remember/:10

Hmm...  I would tend to think that the commentary is wrong.

During expire, we write an history line when the arrival time of the
article is superior than the threshold.

/remember/:10
now = August, 13th
threshold = now - 10 = August, 3th

arrived = August, 2th
implies it will not be retained.

        if (hiscookie->new &&
            (t != NULL || arrived >= hiscookie->threshold)) {
            r = hisv6_writeline(hiscookie->new, hash,
                                 arrived, posted, expires, t);
        }

-- 
Julien ÉLIE

« -- Essayons d'interroger ce garde habilement sans éveiller ses soupçons...
  -- Hep ! Où est enfermé Assurancetourix ? » (Astérix) 
Technical Details
Message-ID: <h60lnv$a34$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-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> <h5v7h0$k5h$1@snarked.org> <h5v7uc$13mo$1@bdhi.local>

Show Full Headers
Complete Article Headers
Message-ID: <h60lnv$a34$1@news.trigofacile.com>
Subject: Re: INN's expire program and memory usage:
Date: Thu, 13 Aug 2009 11:17:43 +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> <h5v7h0$k5h$1@snarked.org> <h5v7uc$13mo$1@bdhi.local>
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: 35
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 1250155071 10340 90.57.68.85 (13 Aug 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Thu, 13 Aug 2009 09:17:51 +0000 (UTC)
In-Reply-To: <h5v7uc$13mo$1@bdhi.local>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049