🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Paul Raj Khangure Wed, 22 Sep 1999 00:00
Diablo - Expired Headers ?
#40041
Author: Paul Raj Khangure
Date: Wed, 22 Sep 1999 00:00
31 lines
1584 bytes
I'm running the diablo reader and feeder on the same box.

Is it normal for clients to connect to the reader, and download expired
headers?

I think I've missed something somewhere to do with the expiring.

dexpire runs every hour out of cron, and seems to work fine - it trims
back leaving 2 gig available in /news/spool/news

dexpireover -a runs each night, Mon - Sat, from cron.
dexpireover -a -R runs each sunday night from cron.

When dexpire runs, does it update /news/spool/group at all? Or would I
need to run a dexpireover -a every hour to do that?

I guess I'm asking as to whether my setup is functioning as normal -
expired headers and all, or whether it should be removing those expired
headers each hour.


Paul Raj Khangure

-- 

Procurator Odiosus Ex Infernis. Erudito, aut obliteratio.
Wielder of the Clue Rod (tm).       LART hard, LART fast.
Smith and Wesson: the original point and click interface.
I don't suffer from insanity. I enjoy every minute of it.

Re: Diablo - Expired Headers ?
#40033
Author: Paul Raj Khangure
Date: Wed, 22 Sep 1999 00:00
31 lines
1667 bytes
Russell Vincent (russellv-n@nosp.uk.uu.net) wrote:

: It's all about careful tuning of your dexpire.ctl. The 'x' option
: tells dexpireover when to expire the headers and it only touches
: the ~/group directory. dexpire only touches the ~/news directory
: and uses the % value. The two aren't related and don't communicate
: what they do to each other.

Heh.

Much appreciated.

: Ideally, you need to tune it to keep articles on the spool slightly
: longer than the headers are kept (by manually checking the oldest
: articles on spool), so that you don't get the 'Article not available'
: message.

This probably sounds like a simple question, but how do I manually check
which is the oldest article on the spool?


Paul Raj Khangure

-- 

Procurator Odiosus Ex Infernis. Erudito, aut obliteratio.
Wielder of the Clue Rod (tm).       LART hard, LART fast.
Smith and Wesson: the original point and click interface.
I don't suffer from insanity. I enjoy every minute of it.

Re: Diablo - Expired Headers ?
#40036
Author: Kjetil Torgrim Homme
Date: Wed, 22 Sep 1999 00:00
15 lines
1092 bytes
[Paul Raj Khangure]

>   This probably sounds like a simple question, but how do I manually
>   check which is the oldest article on the spool?

cd ~news/spool/news
ls -lt | tail

Go into the directory, and look for the oldest file there.


Kjetil T.


Re: Diablo - Expired Headers ?
#40051
Author: Russell Vincent
Date: Wed, 22 Sep 1999 00:00
21 lines
1534 bytes
Paul Raj Khangure <prk@rave.iinet.net.au> wrote:
> I'm running the diablo reader and feeder on the same box.

> When dexpire runs, does it update /news/spool/group at all? Or would I
> need to run a dexpireover -a every hour to do that?

It's all about careful tuning of your dexpire.ctl. The 'x' option
tells dexpireover when to expire the headers and it only touches
the ~/group directory. dexpire only touches the ~/news directory
and uses the % value. The two aren't related and don't communicate
what they do to each other.

Ideally, you need to tune it to keep articles on the spool slightly
longer than the headers are kept (by manually checking the oldest
articles on spool), so that you don't get the 'Article not available'
message.

 -Russell


Re: Diablo - Expired Headers ?
#40128
Author: Marco Davids
Date: Fri, 24 Sep 1999 00:00
19 lines
1615 bytes
Russell Vincent wrote:

> Ideally, you need to tune it to keep articles on the spool slightly
> longer than the headers are kept (by manually checking the oldest
> articles on spool), so that you don't get the 'Article not available'
> message.

This trick doesn't work if your spool is an INN-server on CNFS, as is
the case overhere. As far as I know, the standard dreaderd has no good
solution for this issue. If I'm wrong, I'd be very interested in hearing
that ;-)

-- 
Marco Davids                          +31(0)15 8881000 fax +31(0)15
8881099
N.V. Casema -- Internet NOC            mailto:mdavids@casema.net
Systemadministrator                    http://www.casema.net/~mdavids

Re: Diablo - Expired Headers ?
#40130
Author: Joe Greco
Date: Fri, 24 Sep 1999 00:00
21 lines
1652 bytes
In news.software.nntp article <37EB7B80.D0F3FF9C@casema.net>, Marco Davids <mdavids@casema.net> wrote:
:Russell Vincent wrote:
:
:> Ideally, you need to tune it to keep articles on the spool slightly
:> longer than the headers are kept (by manually checking the oldest
:> articles on spool), so that you don't get the 'Article not available'
:> message.
:
:This trick doesn't work if your spool is an INN-server on CNFS, as is
:the case overhere. As far as I know, the standard dreaderd has no good
:solution for this issue. If I'm wrong, I'd be very interested in hearing
:that ;-)

Uhhhh...  your statement makes no sense to me...  INN with CNFS is about 
as close to Diablo behaviour as you can get.  Follow the advice, set the
dreaderd expire times to just a bit short of the typical retention time
of the CNFS spool.

... JG

Re: Diablo - Expired Headers ?
#40140
Author: Joe Greco
Date: Sat, 25 Sep 1999 00:00
22 lines
1738 bytes
In news.software.nntp article <slrn7uq67n.12g.ahu@hubert.ds9a.tudelft.nl>, ahu@casema.net (bert hubert) wrote:
:On 24 Sep 1999 10:07:56 -0500, Joe Greco wrote:
:
:>Uhhhh...  your statement makes no sense to me...  INN with CNFS is about 
:>as close to Diablo behaviour as you can get.  Follow the advice, set the
:>dreaderd expire times to just a bit short of the typical retention time
:>of the CNFS spool.
:
:The thing is, you may have many CNFS bins all expiring at different rates.
:Articles may get thrown into bins based on size, not based on newsgroup..

This is substantially different from diablo... how??  I don't get it.

With both CNFS and Diablo, you have to use your brain to avoid shooting
yourself in the foot.  You can make it work.

It _is_ easier if you happen to choose certain paradigms that'll work well
with what dreaderd is expecting.

... JG

Re: Diablo - Expired Headers ?
#40141
Author: bert hubert
Date: Sat, 25 Sep 1999 00:00
23 lines
1623 bytes
On 24 Sep 1999 10:07:56 -0500, Joe Greco wrote:

>Uhhhh...  your statement makes no sense to me...  INN with CNFS is about 
>as close to Diablo behaviour as you can get.  Follow the advice, set the
>dreaderd expire times to just a bit short of the typical retention time
>of the CNFS spool.

The thing is, you may have many CNFS bins all expiring at different rates.
Articles may get thrown into bins based on size, not based on newsgroup..

Regards,


bert hubert.

-- 
                       |   Absoluut geen woordvoerder van Casema. Gewoon
                       |               niet geloven wat ik zeg.
           ?           |                                          
                       |          Inspice et cautus eris - D11T'95
 

Re: Diablo - Expired Headers ?
#40145
Author: Sico Bruins
Date: Sat, 25 Sep 1999 00:00
35 lines
2264 bytes
In article <37eb93cd$0$10181@news.execpc.com>,
Joe Greco <jgreco@ns.sol.net> wrote:

>In news.software.nntp article <37EB7B80.D0F3FF9C@casema.net>, MarcoDavids <mdavids@casema.net> wrote:
>Davids <mdavids@casema.net> wrote::Russell Vincent wrote:
>:
>:> Ideally, you need to tune it to keep articles on the spool slightly
>:> longer than the headers are kept (by manually checking the oldest
>:> articles on spool), so that you don't get the 'Article not available'
>:> message.
>:
>:This trick doesn't work if your spool is an INN-server on CNFS, as is
>:the case overhere. As far as I know, the standard dreaderd has no good
>:solution for this issue. If I'm wrong, I'd be very interested in hearing
>:that ;-)
>
>Uhhhh...  your statement makes no sense to me...  INN with CNFS is about 
>as close to Diablo behaviour as you can get.  Follow the advice, set the
>dreaderd expire times to just a bit short of the typical retention time
>of the CNFS spool.

I dunno what Marco Davids uses, but I use raw disks for my CNFS spool.
Unless I'm missing something I can't find out the age of the oldest
articles on my 'spool'.

Of course I can see at what rate my cyclic buffers fill up and
extrapolate, but I can't simply 'go to the spool' and see how old the
oldest article is like back in the time we had traditional spool. That's
what the original poster seemed to imply with his "manually checking".

>... JG

CU, Sico.

Re: Diablo - Expired Headers ?
#40160
Author: Russ Allbery
Date: Sat, 25 Sep 1999 00:00
11 lines
905 bytes
Sico Bruins <sico@xs4.xs4all.nl> writes:

> Unless I'm missing something I can't find out the age of the oldest
> articles on my 'spool'.

cnfsstat -a.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Diablo - Expired Headers ?
#40385
Author: Sico Bruins
Date: Sat, 02 Oct 1999 00:00
31 lines
1865 bytes
In article <ylln9ug6rz.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

>Sico Bruins <sico@xs4.xs4all.nl> writes:
>
>> Unless I'm missing something I can't find out the age of the oldest
>> articles on my 'spool'.
>
>cnfsstat -a.

Ah, TNX a bundle! I guess it's a Good Thing to Read The Fine Man pages
before posting to Usenet. ;-)

The output of cnfsstat -a isn't always very consistent, though. For
some of my cycbuffs it reports that the "Oldest" is more recent than
the "Newest". Here's an example:

Buffer c2t0f, len: 1735.35 Mbytes, used: 1005.15 Mbytes (57.9%)  38 cycles
 Newest: 1999-10-02  9:50:52,    0 days,  0:00:55 ago
 Oldest: 1999-10-02  9:51:31,    0 days,  0:00:17 ago

Other cycbuffs in the same metacycbuff fortunately give info that looks
more credible:

Buffer c3t0f, len: 1735.35 Mbytes, used: 950.45 Mbytes (54.8%)  38 cycles
 Newest: 1999-10-02  9:50:52,    0 days,  0:00:56 ago
 Oldest: 1999-09-29  9:22:02,    3 days,  0:29:46 ago

CU, Sico (http://people.a2000.nl/sico/).

Re: Diablo - Expired Headers ?
#40387
Author: Russ Allbery
Date: Sat, 02 Oct 1999 00:00
18 lines
1396 bytes
Sico Bruins <sico@xs4.xs4all.nl> writes:

> The output of cnfsstat -a isn't always very consistent, though. For some
> of my cycbuffs it reports that the "Oldest" is more recent than the
> "Newest". Here's an example:

> Buffer c2t0f, len: 1735.35 Mbytes, used: 1005.15 Mbytes (57.9%)  38 cycles
>  Newest: 1999-10-02  9:50:52,    0 days,  0:00:55 ago
>  Oldest: 1999-10-02  9:51:31,    0 days,  0:00:17 ago

Yeah, I think there's a race condition with how it works, if the oldest
article gets overwritten just as it's looking for it.  Or at least that's
what it looked like to me before, but I didn't look at it in more detail.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

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