Thread View: news.software.nntp
14 messages
14 total messages
Started by Bernhard Kohl
Thu, 05 Apr 2001 08:14
INN 2.3.2 not expiring all articles
Author: Bernhard Kohl
Date: Thu, 05 Apr 2001 08:14
Date: Thu, 05 Apr 2001 08:14
108 lines
3686 bytes
3686 bytes
Hello,
I'm running into trouble with diskspace since INN seems to delete *some*
expired articles from disk but doesn't for many others that should be
deleted too.
From a newsreaders view the articles have expired as can be seen from the
lowmark in active.
The articles did come in at the same time and contain no expire date so
they should be treated alike.
Below I've extracted the important (at least, I hope so) lines from my
configuration files and file system.
Any help would be appreciated. Thanks in advance.
Regards,
Bernd
expire.ctl:
-----------
news.lists*:A:1:3:15
expire.list:
------------
news/groups/95905
news/groups/questions/35378
news/lists/filters/5992315
news/software/nntp/100699
news/software/readers/92125
articles/news/lists/filters/:
-----------------------------
-rw-rw-r-- 1 newsadm newsadm 4494 Mar 20 06:23 5992309
-rw-rw-r-- 1 newsadm newsadm 1963 Mar 20 06:24 5992310
-rw-rw-r-- 1 newsadm newsadm 1975 Mar 20 06:24 5992311
-rw-rw-r-- 1 newsadm newsadm 1955 Mar 20 06:24 5992312
-rw-rw-r-- 1 newsadm newsadm 2035 Mar 20 06:24 5992313
-rw-rw-r-- 1 newsadm newsadm 9632 Mar 20 06:24 5992314
-rw-rw-r-- 1 newsadm newsadm 30236 Mar 20 06:24 5992316
-rw-rw-r-- 1 newsadm newsadm 14799 Mar 20 06:24 5992317
-rw-rw-r-- 1 newsadm newsadm 1784 Mar 20 06:24 5992318
active:
-------
news.lists.filters 0006051349 0006036526 y
inn.conf:
---------
ovmethod: tradindexed
enableoverview: true
groupbaseexpiry: true
storage.conf:
--------------
method tradspool {
newsgroups: *
class: 1
}
crontab:
--------
50 01 * * * /opt/news/home/bin/news.daily norm delayrm expireover lowmark
expire.log:
-----------
expireover start Thu Apr 5 01:54:52 MEST 2001: ( -z/opt/news/log/expire.rm
-Z/o
pt/news/log/expire.lowmark)
Article lines processed 1779541
Articles dropped 203089
Overview index dropped 212551
expireover end Thu Apr 5 04:52:21 MEST 2001
lowmarkrenumber begin Thu Apr 5 04:52:21 MEST 2001:
(/opt/news/log/expire.lowma
rk)
lowmarkrenumber end Thu Apr 5 04:52:21 MEST 2001
expirerm start Thu Apr 5 04:52:38 MEST 2001
expirerm end Thu Apr 5 05:09:22 MEST 2001
expire begin Thu Apr 5 05:09:52 MEST 2001: (-v3)
Article lines processed 4527635
Articles retained 4491118
Entries expired 36517
Old entries dropped 63675
Old entries retained 684761
expire end Thu Apr 5 07:24:07 MEST 2001
all done Thu Apr 5 07:24:08 MEST 2001
Re: INN 2.3.2 not expiring all articles
Author: Russ Allbery
Date: Thu, 05 Apr 2001 08:52
Date: Thu, 05 Apr 2001 08:52
17 lines
1624 bytes
1624 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:
> I'm running into trouble with diskspace since INN seems to delete *some*
> expired articles from disk but doesn't for many others that should be
> deleted too.
INN 2.3.2 by default does not delete articles out of the spool until they
have expired from *all* articles to which they were posted. Are any of
the articles that aren't going away the way you expect crossposted by any
chance?
--
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.
Re: INN 2.3.2 not expiring all articles
Author: Bernhard Kohl
Date: Thu, 05 Apr 2001 09:11
Date: Thu, 05 Apr 2001 09:11
24 lines
1915 bytes
1915 bytes
Russ Allbery <rra@stanford.edu> wrote in <ylofubvicy.fsf@windlord.stanford.edu>: >Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes: > >> I'm running into trouble with diskspace since INN seems to delete *some* >> expired articles from disk but doesn't for many others that should be >> deleted too. > >INN 2.3.2 by default does not delete articles out of the spool until they >have expired from *all* articles to which they were posted. Are any of >the articles that aren't going away the way you expect crossposted by any >chance? > Yes, they are posted also to alt.nocem.misc, but this group is not in my active file. BTW: Is there any chance that the problem may be caused by a rename of the server after testing kepping the old news (I've altered the configuration files in regard to the servername)? Bernd
Re: INN 2.3.2 not expiring all articles
Author: Russ Allbery
Date: Thu, 05 Apr 2001 10:29
Date: Thu, 05 Apr 2001 10:29
18 lines
1726 bytes
1726 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:
> Yes, they are posted also to alt.nocem.misc, but this group is not in my
> active file.
> BTW: Is there any chance that the problem may be caused by a rename of the
> server after testing kepping the old news (I've altered the configuration
> files in regard to the servername)?
It shouldn't. Are the files readable from the browser? Do they show up
in an XOVER listing of that newsgroup?
--
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.
Re: INN 2.3.2 not expiring all articles
Author: Bernhard Kohl
Date: Thu, 05 Apr 2001 10:50
Date: Thu, 05 Apr 2001 10:50
22 lines
1863 bytes
1863 bytes
Russ Allbery <rra@stanford.edu> wrote in <ylwv8ztza8.fsf@windlord.stanford.edu>: >Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes: > >> Yes, they are posted also to alt.nocem.misc, but this group is not in >> my active file. > >> BTW: Is there any chance that the problem may be caused by a rename of >> the server after testing kepping the old news (I've altered the >> configuration files in regard to the servername)? > >It shouldn't. Are the files readable from the browser? Do they show up >in an XOVER listing of that newsgroup? > No, they don't. The newsreader will show only recent articles that are not expired according to expire.ctl. Bernd
Re: INN 2.3.2 not expiring all articles
Author: Russ Allbery
Date: Thu, 05 Apr 2001 11:25
Date: Thu, 05 Apr 2001 11:25
29 lines
2218 bytes
2218 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> It shouldn't. Are the files readable from the browser? Do they show
>> up in an XOVER listing of that newsgroup?
> No, they don't. The newsreader will show only recent articles that are
> not expired according to expire.ctl.
Hm. Then they're not being expired because they're not in overview. Are
you using group-based expiration? Yeah, you were, from the syntax of your
expire.ctl.
Hm. I wonder if they were ever in overview at all. Were those articles
ever readable?
It sounds almost like a batch of articles that was supposed to be deleted
never actually got passed to fastrm or the equivalent one night, but did
get purged from overview.
You can safely just delete the articles manually, but I don't know if the
problem with recur.
--
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.
Re: INN 2.3.2 not expiring all articles
Author: Bernhard Kohl
Date: Thu, 05 Apr 2001 11:51
Date: Thu, 05 Apr 2001 11:51
40 lines
2407 bytes
2407 bytes
Russ Allbery <rra@stanford.edu> wrote in <ylhf03si55.fsf@windlord.stanford.edu>: >Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes: >> Russ Allbery <rra@stanford.edu> wrote: > >>> It shouldn't. Are the files readable from the browser? Do they show >>> up in an XOVER listing of that newsgroup? > >> No, they don't. The newsreader will show only recent articles that are >> not expired according to expire.ctl. > >Hm. Then they're not being expired because they're not in overview. Are >you using group-based expiration? Yeah, you were, from the syntax of your >expire.ctl. > >Hm. I wonder if they were ever in overview at all. Were those articles >ever readable? > I think so, but I may be wrong. >It sounds almost like a batch of articles that was supposed to be deleted >never actually got passed to fastrm or the equivalent one night, but did >get purged from overview. > >You can safely just delete the articles manually, but I don't know if the >problem with recur. > OK, I will delete them manually and see if the problem will recur. And thank you very much for your support. Regards, Bernd
Re: INN 2.3.2 not expiring all articles
Author: Philippe Debroux
Date: Wed, 11 Apr 2001 14:58
Date: Wed, 11 Apr 2001 14:58
76 lines
3912 bytes
3912 bytes
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <ylhf03si55.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > It sounds almost like a batch of articles that was supposed to be deleted > never actually got passed to fastrm or the equivalent one night, but did > get purged from overview. Exactly. I have the same problem since i have upgraded from INN 2.2 to INN 2.3.2 (I have transfered my news spool disks from the old server to the new one and rebuid history and overview files). Some articles are removed from overview but not from history file and from news spool. For example : I keep comp.* 30 days. # cd /newsspool1/articles/comp/unix/solaris # ls -l 297871 -rw-rw-r-- 1 news staff 1039 Feb 24 13:55 297871 # cat 297871 Path: news.sri.ucl.ac.be!naxos.belnet.be!newsfeeds.belnet.be!news.belnet.be!ne wsfeed00.sul.t-online. de!newsfeed01.sul.t-online.de!t-online.de!news.netcologne.de!news-spur1. maxwell.syr.edu!news.maxwell .syr.edu!news.mel.connect.com.au!news1.optus.net.au!optus!news0.optus.ne t.au!not-for-mail From: "news.optus.net.au" <binh25@yahoo.com> Newsgroups: comp.unix.solaris Subject: Forcing passwd change?? Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <bbOl6.1$Mw1.243@news0.optus.net.au> Date: Sat, 24 Feb 2001 23:56:20 +1100 NNTP-Posting-Host: 131.236.3.244 X-Trace: news0.optus.net.au 983019335 131.236.3.244 (Sat, 24 Feb 2001 23:55:35 EST) NNTP-Posting-Date: Sat, 24 Feb 2001 23:55:35 EST Organization: CWO Customer - reports relating to abuse should be sent to abuse@cwo.net.au Xref: news.sri.ucl.ac.be comp.unix.solaris:297871 ... This article is not crossposted and should be removed from news spool since many days. It is still present in history too : # ~news/bin/grephistory -l bbOl6.1\$Mw1.243@news0.optus.net.au [DA1F17CD38F176605EA7465AB4EC0D98] 983019337~-~983019380 @05000000178800048B8F0000000000000000@ And has been removed from overview : # grep 297871 /newsspool1/overview/c/u/s/comp.unix.solaris.DAT # My newsreader doesn't show up this article. > You can safely just delete the articles manually, but I don't know if the > problem with recur. Yes, of course. But this is only a short time solution. The problem still remains. -- Philippe
Re: INN 2.3.2 not expiring all articles
Author: Russ Allbery
Date: Wed, 11 Apr 2001 15:14
Date: Wed, 11 Apr 2001 15:14
15 lines
1839 bytes
1839 bytes
Philippe Debroux <Debroux@sri.ucl.ac.be> writes:
> Exactly. I have the same problem since i have upgraded from INN 2.2 to
> INN 2.3.2 (I have transfered my news spool disks from the old server to
> the new one and rebuid history and overview files). Some articles are
> removed from overview but not from history file and from news spool.
So why did those articles not get handed to fastrm?
--
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.
Re: INN 2.3.2 not expiring all articles
Author: Philippe Debroux
Date: Thu, 12 Apr 2001 08:42
Date: Thu, 12 Apr 2001 08:42
27 lines
2594 bytes
2594 bytes
In article <yl3dbfzcwn.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: > Philippe Debroux <Debroux@sri.ucl.ac.be> writes: > > > Exactly. I have the same problem since i have upgraded from INN 2.2 to > > INN 2.3.2 (I have transfered my news spool disks from the old server to > > the new one and rebuid history and overview files). Some articles are > > removed from overview but not from history file and from news spool. > > So why did those articles not get handed to fastrm? 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 ? -- Philippe
Re: INN 2.3.2 not expiring all articles
Author: Bernhard Kohl
Date: Thu, 12 Apr 2001 11:41
Date: Thu, 12 Apr 2001 11:41
23 lines
2312 bytes
2312 bytes
Philippe Debroux <Debroux@sri.ucl.ac.be> wrote in <120420011042596612%Debroux@sri.ucl.ac.be>: > >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. Nevertheless, I ditto don't know why...
Re: INN 2.3.2 not expiring all articles
Author: 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.
Re: INN 2.3.2 not expiring all articles
Author: 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
Re: INN 2.3.2 not expiring all articles
Author: Philippe Debroux
Date: Fri, 20 Apr 2001 07:50
Date: Fri, 20 Apr 2001 07:50
22 lines
2416 bytes
2416 bytes
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <Xns90888CD323987BKohlrrzunikoelnde@134.95.100.202>, Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote: > 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". There is a patch (110916-01) to correct the "sort" command. It is available to contract customers only. You can obtain this patch from your local Solution Center. I have installed the patch. We will see in the next days if this solve the expire problem. -- Philippe
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads