🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251172

Re: leafnode: running texpire weekly instead of daily?

#251172
From: Adam Funk
Date: Tue, 28 Aug 2012 10:35
51 lines
3117 bytes
On 2012-07-24, Mike Yetto wrote:

> Adam Funk <a24061@ducksburg.com> writes and having writ moves on.

>>Is the texpire job's running time related more to the size of the
>>spool or the number of articles that it decides to delete?
>
> I would think that it is dependent on the size of the spool since
> each article must be checked before a decision is made. A factor
> to consider is if you are deleting by thread or by individual
> article. I assume deleting by thread could leave more articles on the
> spool as well as require more processing. As this might be
> negligible or spool-size dependent YMMV.
>
>>Would it do any harm to run it weekly instead of daily?
>
> There should be no harm done, but if you're wondering which way
> is more efficient / less intrusive, only some testing will tell.
>
> Mike "post results / corrected assumptions" Yetto


OK, here are the results so far, churned through a spreadsheet:

days   texpire   h:m:s per   m:s per
since  run       million     million
last   time      deletions   retentions
run
1      1:20:56   07:09:06    37:23
1      1:21:23   00:02:03    37:34
1      1:21:59   15:14:27    37:50
1      1:19:31   15:32:24    36:40
1      1:24:04   05:57:46    38:45
1      1:21:09   12:07:42    37:23
1      1:20:09   11:54:04    36:54
4      1:24:11   04:55:53    38:43
7      1:23:34   20:12:31    38:16
7      1:27:13   14:06:30    39:47
7      1:28:35   18:24:21    40:15


(The number of deletions ranged from 142 to 4427; the number retained
stayed around 2,100,000.)  So the texpire run time seems consistently
dependent on the spool size, and it does no harm to run it less
frequently.


-- 
Nam Sibbyllam quidem Cumis ego ipse oculis meis vidi in ampulla 
pendere, et cum illi pueri dicerent: beable beable beable; respondebat 
illa: doidy doidy doidy.                                   [plorkwort]
Technical Details
Message-ID: <nfjug9xb2d.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1eb2e9x1fg.ln2@news.ducksburg.com> <slrn20120724081056.123.twooffive@may.eternal-september.org>

Show Full Headers
Complete Article Headers
Message-ID: <nfjug9xb2d.ln2@news.ducksburg.com>
Subject: Re: leafnode: running texpire weekly instead of daily?
Date: Tue, 28 Aug 2012 11:35:03 +0100
From: Adam Funk <a24061@ducksburg.com>
References: <1eb2e9x1fg.ln2@news.ducksburg.com> <slrn20120724081056.123.twooffive@may.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 51
X-Trace: individual.net
 jv6z/C/rrLQYhJc1x+PvvAYPd9pjP3oHTTSh1Nk9bxND0ZWWQmkkxlApsaNrFapu8b
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:qhSvixtVHeLGeUQO3p5azY5R4Nw=
 sha1:wwrB3+/IBNUYVBCY46hN1GbW4Vw=
User-Agent: slrn/pre1.0.0-26/mm/ao (Ubuntu Oneiric)
X-Original-Bytes: 2896