🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Victor Sudakov Thu, 22 Mar 2001 07:04
Yet another question on CNFS
#51393
Author: Victor Sudakov
Date: Thu, 22 Mar 2001 07:04
10 lines
1189 bytes
What happens to a CNFS buffer when it is full? Is it reset and
starts from scratch, or does it drop the oldest article (old
articles are gradually replaced by new ones)?

Thanks a lot for any input.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
Re: Yet another question on CNFS
#51386
Author: Russ Allbery
Date: Thu, 22 Mar 2001 08:27
14 lines
1461 bytes
Victor Sudakov <sudakov@sibptus.tomsk.ru> writes:

> What happens to a CNFS buffer when it is full? Is it reset and starts
> from scratch, or does it drop the oldest article (old articles are
> gradually replaced by new ones)?

The latter.

-- 
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: Yet another question on CNFS
#51387
Author: Victor Sudakov
Date: Thu, 22 Mar 2001 09:47
24 lines
1979 bytes
Russ Allbery <rra@stanford.edu> wrote:

>> What happens to a CNFS buffer when it is full? Is it reset and starts
>> from scratch, or does it drop the oldest article (old articles are
>> gradually replaced by new ones)?

> The latter.

I thought so but there are two things that made me doubt.

1. cnfsstat shows some mysterious figures like
"used: 479.32 Mbytes (95.9%)". If the buffer worked like you
described, it should be always 100% full.  

2. It happens sometimes that my newsreader (tin 1.5.4 release 20000523) 
shows newsgroups full of articles but when I enter a group, it
turns out to be empty. This must be either incorrect renumbering
or articles available in the overview but not available in the
spool, or similar reason. Any ideas?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
Re: Yet another question on CNFS
#51413
Author: Mike Berger
Date: Thu, 22 Mar 2001 16:56
11 lines
1571 bytes

Victor Sudakov wrote:
> 1. cnfsstat shows some mysterious figures like
> "used: 479.32 Mbytes (95.9%)". If the buffer worked like you
> described, it should be always 100% full.
> 
I believe that each buffer is treated separately.  A buffer
is "full" if it can't contain the entire article, even if every
single byte hasn't been used.
Re: Yet another question on CNFS
#51424
Author: Russ Allbery
Date: Thu, 22 Mar 2001 20:29
27 lines
2263 bytes
Victor Sudakov <sudakov@sibptus.tomsk.ru> writes:

> 1. cnfsstat shows some mysterious figures like "used: 479.32 Mbytes
> (95.9%)". If the buffer worked like you described, it should be always
> 100% full.

That text has been improved in later versions of INN.  That's the current
write position in the buffer (in other words, it's currently writing 95.9%
of the way through the buffer).  The articles that have not yet been
overwritten are still available.

> 2. It happens sometimes that my newsreader (tin 1.5.4 release 20000523)
> shows newsgroups full of articles but when I enter a group, it turns out
> to be empty. This must be either incorrect renumbering or articles
> available in the overview but not available in the spool, or similar
> reason. Any ideas?

Generally articles available in overview but not on the spool.  Overview
is only expired nightly when news.daily runs, so there's some lag between
an article going away and its overview entry going away.

-- 
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: Yet another question on CNFS
#51437
Author: Victor Sudakov
Date: Fri, 23 Mar 2001 01:48
21 lines
1734 bytes
Mike Berger <berger@shout.net> wrote:

>> 1. cnfsstat shows some mysterious figures like
>> "used: 479.32 Mbytes (95.9%)". If the buffer worked like you
>> described, it should be always 100% full.
>> 
> I believe that each buffer is treated separately.  

I currently use only one buffer.

> A buffer is "full" if it can't contain the entire article, even
> if every single byte hasn't been used.

Excuse me? A buffer is 99.9% full, then it "wraps over" and
becomes 0% full. I thought all old articles are killed at the
moment.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
Re: Yet another question on CNFS
#51436
Author: Victor Sudakov
Date: Fri, 23 Mar 2001 01:53
19 lines
1813 bytes
Russ Allbery <rra@stanford.edu> wrote:

>> 1. cnfsstat shows some mysterious figures like "used: 479.32 Mbytes
>> (95.9%)". If the buffer worked like you described, it should be always
>> 100% full.

> That text has been improved in later versions of INN.  That's the current
> write position in the buffer (in other words, it's currently writing 95.9%
> of the way through the buffer).  The articles that have not yet been
> overwritten are still available.

What are "cycles" in this context? My cnfsstat reports 51 cycles.

I am very grateful to you for your useful answers.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
Re: Yet another question on CNFS
#51439
Author: Russ Allbery
Date: Fri, 23 Mar 2001 03:00
19 lines
1912 bytes
Victor Sudakov <sudakov@sibptus.tomsk.ru> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> That text has been improved in later versions of INN.  That's the
>> current write position in the buffer (in other words, it's currently
>> writing 95.9% of the way through the buffer).  The articles that have
>> not yet been overwritten are still available.

> What are "cycles" in this context? My cnfsstat reports 51 cycles.

The number of times the buffer has filled and wrapped around and started
at the beginning again since it was initialized.

-- 
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: Yet another question on CNFS
#51523
Author: bill davidsen
Date: Wed, 28 Mar 2001 15:11
16 lines
1893 bytes
In article <yl1yrplf7v.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| Generally articles available in overview but not on the spool.  Overview
| is only expired nightly when news.daily runs, so there's some lag between
| an article going away and its overview entry going away.

  Some delay in resetting the lowmark for the group(s) as well, since
that is usually done by using data generated during expireover. I
suspect that the lowmark is not reset for machines w/o overview.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait."  -seen in a doctor's office
Re: Yet another question on CNFS
#51529
Author: Katsuhiro Kondou
Date: Wed, 28 Mar 2001 15:40
10 lines
1576 bytes
In article <99suve$6cbk$1@newssvr05-en0.news.prodigy.com>,
	davidsen@tmr.com (bill davidsen) wrote;

} that is usually done by using data generated during expireover. I
} suspect that the lowmark is not reset for machines w/o overview.

No.  It's done only if the server has overview.
-- 
Katsuhiro Kondou
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