Article View: news.software.nntp
Article #51754Re: INN 2.3.2 not expiring all articles
From: Russ Allbery
Date: Thu, 12 Apr 2001 15:37
Date: Thu, 12 Apr 2001 15:37
39 lines
3017 bytes
3017 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:
> Philippe Debroux <Debroux@sri.ucl.ac.be> wrote:
>> It's just what I would like to know !
>> It seems expireover makes its job correctly. It creates a list
>> (~news/log/expire.rm) with all the articles to expire. After expireover
>> has terminated its job, the list is renamed from expire.rm to
>> expire.rm.xxxx (where xxxx is the process ID) and passed to expire.
>> Correct ?
>> The number of articles recorded in the second list (expire.rm.xxxx) is
>> only more or less 10 p.c. of the first list (expire.rm). I know
>> crossposted articles are recorded many times in expire.rm. But this
>> doesn't explain all. Why some articles are "lost" between expire.rm and
>> expire.rm.xxxx ?
> This comes close to my observations. I didn't yet checked expire.rm xxxx
> but expire.list is about 10% of the file list I get when removing files
> with a script every morning.
Are those articles that are "lost" the same ones that show up as not being
removed properly?
That would point at some sort of problem with your sort command, as the
transformation between expire.rm and expire.rm.$$ is:
mv ${RMFILE} ${RMFILE}.$$ && RMFILE=${RMFILE}.$$
test -n "${TMPDIR}" && SORT="${SORT} -T ${TMPDIR}"
${SORT} -u -o ${RMFILE} ${RMFILE}
If your sort -u is broken, that could cause this behavior.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<yl66gam8n5.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<Xns907A684602C78BKohlrrzunikoelnde@134.95.100.202> <ylofubvicy.fsf@windlord.stanford.edu> <Xns907A71EECD88FBKohlrrzunikoelnde@134.95.100.202> <ylwv8ztza8.fsf@windlord.stanford.edu> <Xns907A829F9716BBKohlrrzunikoelnde@134.95.100.202> <ylhf03si55.fsf@windlord.stanford.edu> <110420011658035730%Debroux@sri.ucl.ac.be> <yl3dbfzcwn.fsf@windlord.stanford.edu> <120420011042596612%Debroux@sri.ucl.ac.be> <Xns90818B481D44CBKohlrrzunikoelnde@134.95.100.202>Show Full Headers
Complete Article Headers
Message-ID: <yl66gam8n5.fsf@windlord.stanford.edu> Subject: Re: INN 2.3.2 not expiring all articles Date: Thu, 12 Apr 2001 15:37:34 +0000 From: Russ Allbery <rra@stanford.edu> References: <Xns907A684602C78BKohlrrzunikoelnde@134.95.100.202> <ylofubvicy.fsf@windlord.stanford.edu> <Xns907A71EECD88FBKohlrrzunikoelnde@134.95.100.202> <ylwv8ztza8.fsf@windlord.stanford.edu> <Xns907A829F9716BBKohlrrzunikoelnde@134.95.100.202> <ylhf03si55.fsf@windlord.stanford.edu> <110420011658035730%Debroux@sri.ucl.ac.be> <yl3dbfzcwn.fsf@windlord.stanford.edu> <120420011042596612%Debroux@sri.ucl.ac.be> <Xns90818B481D44CBKohlrrzunikoelnde@134.95.100.202> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 38 NNTP-Posting-Host: windlord.stanford.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 987089855 13382 171.64.13.23 (12 Apr 2001 15:37:35 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)