🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #250943

Re: leafnode: running texpire weekly instead of daily?

#250943
From: Mike Yetto
Date: Tue, 24 Jul 2012 12:17
32 lines
2784 bytes
Adam Funk <a24061@ducksburg.com> writes and having writ moves on.
>(I posted this in the leafnode-users mailing list a little while ago,
>but no-one replied there.  Apologies to those who are seeing it again
>here.)

I saw this on the mailing list, but don't have a definitive
answer. So, here's my best guess.

>I have a fairly long retention period in my leafnode configuration,
>and the cron.daily/leafnode job takes about 1 hour to run.  (I'm
>running leafnode-2.0.0.alpha20110807b.luascript, and the cron script
>might have been copied from an old Debian/Ubuntu package.)

>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
-- 
In theory, theory and practice are the same.
In practice they are not.
Technical Details
Message-ID: <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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <1eb2e9x1fg.ln2@news.ducksburg.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn20120724081056.123.twooffive@may.eternal-september.org>
Subject: Re: leafnode: running texpire weekly instead of daily?
Date: Tue, 24 Jul 2012 08:17:03 -0400
From: Mike Yetto <myetto1@nycap.invalid>
References: <1eb2e9x1fg.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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: slrn Mafia / Xnews Tong (emeritus)
Lines: 32
Injection-Info: may.eternal-september.org;
 posting-host="c462a9a6983fa86956c145eef1f34f4c";
 logging-data="25411"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/fSBJ43LOo5E+QmAO/13Fo2RW0NlXIjrE="
User-Agent: slrn/pre1.0.0-40 (Linux)
X-The-Usenet-Improvement-Project: http://twovoyagers.com/improve-usenet.org/
X-No-Bananas: Yes
Cancel-Lock: sha1:piHl8aQO+iuW8N/x0/Qk3NU9/30=
X-Original-Bytes: 2600