🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by chad_dressler Thu, 14 Jan 1999 00:00
Judging "fullness" of cnfs buffers
#34688
Author: chad_dressler
Date: Thu, 14 Jan 1999 00:00
14 lines
1166 bytes
Three questions:

1.  Is there any way to know exactly how close a cnfs buffer is to rolling
over? 2.  Is it logged somewhere when a cnfs buffer actually does roll over?
3.  Is there some way to know how many expirations are caused by buffer
rollover versus article expire headers?

Thanks,
Chad Dressler

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: Judging "fullness" of cnfs buffers
#34670
Author: Mark Mentovai
Date: Thu, 14 Jan 1999 00:00
45 lines
2410 bytes
Chad Dressler wrote in news.software.nntp:
>Three questions:
>
>1.  Is there any way to know exactly how close a cnfs buffer is to rolling
>over?

Yes.  Use the cnfsstat script, included with the tests of inn 2.2 (if you
have an earlier INN version and won't switch, you can just pull the
cnfsstat out of 2.2, it is compatible).  Usually, I find myself running it
with the -a switch, which shows the age of the oldest article in each
buffer.  For each buffer, you'll see something like this:

 Buffer NEWS01A, len: 415.0390625 Mbytes, used: 157.63 Mbytes (38.0%)   6 cycles
  Newest: 1999-01-14 15:43:25,    0 days,  0:00:07 ago
  Oldest: 1999-01-03  1:58:53,   11 days, 13:44:39 ago

It's pretty self-explanatory, but take note that once a buffer has rolled
over once, the "used" label is sort of a misnomer: it refers to amount
written to the buffer during the current cycle - in other words, this
buffer can hold another 257.41MB before rolling over to cycle 7.

>2.  Is it logged somewhere when a cnfs buffer actually does roll over?

Yes, it's logged via syslog.  Check your news.notice file for messages
like this:

Jan 14 05:37:34 cedar innd: CNFS-sm: cycbuff NEWS06D rollover to cycle
0xa... remain calm

>3.  Is there some way to know how many expirations are caused by buffer
>rollover versus article expire headers?

No, but that's OK, because expire headers are ignored (unless you have set
up specific storage classes for different ranges of expirations, but even
this won't actually expire articles, it only allows you to provide a
separate storage area which has a longer cycle time).

-MM

--
Mark Mentovai
mark@moxienet.com
http://www.moxienet.com/

Re: Judging "fullness" of cnfs buffers
#34687
Author: Mark Mentovai
Date: Thu, 14 Jan 1999 00:00
46 lines
2957 bytes
Bill Davidsen wrote in news.software.nntp:
>What's with the "Missing" message you get with most cycbuffs?
>Like:
> Buffer NORM1C, len: 976.56 Mbytes, used: 741.97 Mbytes (76.0%)  26 cycles
>  Newest: 1999-01-14 17:29:15,    0 days,  0:00:09 ago
>  Oldest: 1999-01-07 18:53:08,    6 days, 22:36:16 ago
>  (Missing <369b352d.1388778@news.tin.it>)
> Buffer NORM1D, len: 976.56 Mbytes, used: 734.89 Mbytes (75.3%)  26 cycles
>  Newest: 1999-01-14 17:29:15,    0 days,  0:00:10 ago
>  Oldest: 1999-01-07 18:53:08,    6 days, 22:36:16 ago
> Buffer NORM1E, len: 976.56 Mbytes, used: 731.54 Mbytes (74.9%)  26 cycles
>  Newest: 1999-01-14 17:29:15,    0 days,  0:00:10 ago
>  Oldest: 1999-01-07 19:07:24,    6 days, 22:22:01 ago
>  (Missing <cancel.36927844.21018317@client.ne.news.psi.net>)
> Buffer NORM1F, len: 976.56 Mbytes, used: 724.99 Mbytes (74.2%)  26 cycles
>  Newest: 1999-01-14 17:29:15,    0 days,  0:00:10 ago
>  Oldest: 1999-01-07 19:07:24,    6 days, 22:22:01 ago
>
>This is on a system with inn-2.2-STABLE_1999-01-12_03-02 freshly
>installed, history and overview freshly rebuilt, etc. And I get this on
>two other systems running the same release, some compiled with
>tagged-hash for space saving.
>
>Doesn't seem to indicate anything *bad*, as AFAIK, but not reassuring
>:-(

It refers to the next buffer to be printed, not the previous one as you
would expect from the indentation.  It means that the article in question
was found in the buffer but grephistory said it didn't exist.  This can
happen when cnfsstat finds the first Message-ID after the "free" position
(the oldest one in the buffer) but a new article has taken its place by
the time grephistory is called to find out how old it is.  In other words,
it's normal.  When this happens, the "oldest" value displayed will be
inaccurate, as the information in question was actually not available, and
due to a bug in cnfsstat, the previous buffer's oldest article's age is
displayed instead.  If this problem isn't fixed, it should at least be
covered up by not displaying an "oldest" time.

-Mox

--
Mark Mentovai
mark@moxienet.com
http://www.moxienet.com/

Re: Judging "fullness" of cnfs buffers
#34694
Author: bill davidsen
Date: Thu, 14 Jan 1999 00:00
50 lines
3106 bytes
In article <mark-1401991554550001@moxienet.com>,
Mark Mentovai <mark@moxienet.com> wrote:
| Chad Dressler wrote in news.software.nntp:
| >Three questions:
| >
| >1.  Is there any way to know exactly how close a cnfs buffer is to rolling
| >over?
| 
| Yes.  Use the cnfsstat script, included with the tests of inn 2.2 (if you
| have an earlier INN version and won't switch, you can just pull the
| cnfsstat out of 2.2, it is compatible).  Usually, I find myself running it
| with the -a switch, which shows the age of the oldest article in each
| buffer.  For each buffer, you'll see something like this:
| 
|  Buffer NEWS01A, len: 415.0390625 Mbytes, used: 157.63 Mbytes (38.0%)   6 cycles
|   Newest: 1999-01-14 15:43:25,    0 days,  0:00:07 ago
|   Oldest: 1999-01-03  1:58:53,   11 days, 13:44:39 ago

What's with the "Missing" message you get with most cycbuffs?
Like:
 Buffer NORM1C, len: 976.56 Mbytes, used: 741.97 Mbytes (76.0%)  26 cycles
  Newest: 1999-01-14 17:29:15,    0 days,  0:00:09 ago
  Oldest: 1999-01-07 18:53:08,    6 days, 22:36:16 ago
  (Missing <369b352d.1388778@news.tin.it>)
 Buffer NORM1D, len: 976.56 Mbytes, used: 734.89 Mbytes (75.3%)  26 cycles
  Newest: 1999-01-14 17:29:15,    0 days,  0:00:10 ago
  Oldest: 1999-01-07 18:53:08,    6 days, 22:36:16 ago
 Buffer NORM1E, len: 976.56 Mbytes, used: 731.54 Mbytes (74.9%)  26 cycles
  Newest: 1999-01-14 17:29:15,    0 days,  0:00:10 ago
  Oldest: 1999-01-07 19:07:24,    6 days, 22:22:01 ago
  (Missing <cancel.36927844.21018317@client.ne.news.psi.net>)
 Buffer NORM1F, len: 976.56 Mbytes, used: 724.99 Mbytes (74.2%)  26 cycles
  Newest: 1999-01-14 17:29:15,    0 days,  0:00:10 ago
  Oldest: 1999-01-07 19:07:24,    6 days, 22:22:01 ago

This is on a system with inn-2.2-STABLE_1999-01-12_03-02 freshly
installed, history and overview freshly rebuilt, etc. And I get this on
two other systems running the same release, some compiled with
tagged-hash for space saving.

Doesn't seem to indicate anything *bad*, as AFAIK, but not reassuring
:-(

I want a new tool to pat me on the back and say everything is fine!
-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey


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