Article View: news.software.nntp
Article #51911Re: INN 2.3.2 not expiring all articles
From: Bernhard Kohl
Date: Thu, 19 Apr 2001 11:50
Date: Thu, 19 Apr 2001 11:50
48 lines
3271 bytes
3271 bytes
Russ Allbery <rra@stanford.edu> wrote in
<yl66gam8n5.fsf@windlord.stanford.edu>:
>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.
>
It seems that's the way it is. After a few tests:
Under Solaris 2.8 "/bin/sort -u" yields the shortened "expire.rm" whereas
"/usr/xpg4/bin/sort -u" or "/bin/sort | uniq" produce a reasonable
"expire.rm".
I will test it further. For now, thanks for the enlightenment.
--
Bernhard Kohl
Technical Details
Message-ID:
<Xns90888CD323987BKohlrrzunikoelnde@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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!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> <yl66gam8n5.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <Xns90888CD323987BKohlrrzunikoelnde@134.95.100.202> Subject: Re: INN 2.3.2 not expiring all articles Date: Thu, 19 Apr 2001 11:50:33 +0000 From: B.Kohl@rrz.uni-koeln.de (Bernhard Kohl) 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> <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!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!not-for-mail Newsgroups: news.software.nntp Organization: Regional Computing Center, University of Cologne Lines: 47 NNTP-Posting-Host: rzkr-nt08.rrz.uni-koeln.de X-Trace: news.rrz.Uni-Koeln.DE 987681033 23897 134.95.128.31 (19 Apr 2001 11:50:33 GMT) X-Complaints-To: newsmgr@rrz.uni-koeln.de NNTP-Posting-Date: Thu, 19 Apr 2001 11:50:33 +0000 (UTC) User-Agent: Xnews/4.01.30