🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83853

Re: CNFS articles going into tradspool directories

#83853
From: John F. Morse
Date: Thu, 10 Feb 2011 00:10
87 lines
4326 bytes
Hi Julien,

>> When an article is crossposted to a group in a CNFS class and a group in
>> a tradspool class, there is a directory created in the tradspool
>> articles directory for the article and a copy written into the 
>> directory.
>>
>> This behavior is not desired when using CNFS to protect disk usage 
>> space.
>
> I believe the article is stored only at one place (and the token of 
> the article refers to its location in tradspool).


A directory is created in the /var/news/spool/articles/... directory and 
crossposted articles belonging in a cycbuff are stored there.

I have accessed these articles in that directory and can read them (cat 
or less the article number).

Running "grephistory {'m-id'} | sm -c" does show that the article is in 
tradspool, and that is what it should show.

But why is a directory created and the article placed there instead of 
only in a cycbuff, and in the proper tradspool directory.

The problem is when someone crossposts an article to, say, 
local.binaries (a CNFS group to expire rather quickly) and 
local.computers, which is a non-expiring tradspool group.

I guess since it is a non-expiring group, the disk space will always be 
used in the tradspool directory -- but -- there is an identical article 
stored in the odd directory that is created when that article should be 
in the CNFS buffer.

I can read it in both directories.


It is there twice! Double the trouble.

news@reader:~/articles/local/binaries$ grephistory 
'<op.vkudyschpbosr7@acer.gateway.net>' | sm -c
@050000000EC8000007B70000000000000000@ method=tradspool class=0 
ngnum=3784 artnum=1975 file=/var/spool/news/articles/local/binaries/1975

news@reader:~/articles/local/computers$ less 8001 | grep 8001

news@reader:~/articles/local/computers$ cd ../binaries

Then it is here, which is a waste of space:

news@reader:~/articles/local/binaries$ less 1975 | grep 1975


> Wouldn't the order of the classes in storage.conf be of relevance?  
> CNFS before tradspool?


I have method tradspool first in storage.conf but the specific 
local.binaries newsgroup is not listed there.

All works fine until someone crossposts, then I find a new directory was 
created and a duplicate article filed in the new tradspool directory.


> Or putting "@your-CNFS-newsgroups" at the end of your tradspool lines 
> and using the exactmatch parameter?
>     http://www.eyrie.org/~eagle/software/inn/docs/storage.conf.html


Reading that, I don't think it would allow the article in any group (it 
would be poisoned).


> Just suggestions.  I have not tested.


I have not tested the @ poison either. Maybe Russ would know?

It would seem if a wildmat was used, it could require a long list of 
groups to exclude from a particular storage class.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <iivadv$nbg$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <iiv3oq$k2e$1@n102.xanadu-bbs.net> <8rgm2hFvolU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <iivadv$nbg$1@n102.xanadu-bbs.net>
Subject: Re: CNFS articles going into tradspool directories
Date: Wed, 09 Feb 2011 18:10:38 -0600
From: "John F. Morse" <john@example.invalid>
References: <iiv3oq$k2e$1@n102.xanadu-bbs.net> <8rgm2hFvolU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 90
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: n102.xanadu-bbs.net 1297296639 23920 192.168.89.210 (10 Feb 2011
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Thu, 10 Feb 2011 00:10:39 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <8rgm2hFvolU1@mid.individual.net>
X-Enigmail-Version: 0.96.0
X-Original-Bytes: 4271