Article View: news.software.nntp
Article #33396Re: Reading the contents of CNFS devices
From: Mark Mentovai
Date: Mon, 30 Nov 1998 00:00
Date: Mon, 30 Nov 1998 00:00
35 lines
2399 bytes
2399 bytes
Kjetil Torgrim wrote in message<1rzp99mk61.fsf@haey.ifi.uio.no>: >Have a look at cnfsstat, it's included in the newer releases of INN >(not sure when it got included). I like to run it with the "-a" flag. >Be aware that the output from cnfsstat is not always accurate, use it >with a pinch of salt. (It reports % full, even when the cnfs has >cycled. A CNFS is always 100% full once it has cycled, of course.) I see that as a feature, not as a bug. If you take the percent full indication to mean how much has been written to a buffer on a given cycle, then you can figure out how long the buffer has been in that cycle, and how much longer it will remain before rolling over again. You can also use it to see how much news has passed through the buffer. For example, if you have a 400MB buffer on its third cycle that is 25% "full", then all you have to do is 400MB * 3.25 cycles = 1300MB. That information can be used for a variety of purposes, including figuring out how much you want to increase a metabuffer's size if it's too small and things are "expiring" too quickly. I'm thinking that cnfsstat should provide more information oriented towards the status of the metabuffers (but not necessarily less of the information about the individual buffers themselves - that's useful as well). I find myself manually adding the percentages of all of my buffers to figure out the status of my metabuffers. To me, the metabuffer information would be more important. Eventually, I'll probably just change cnfsstat myself so that it provides this information. -Mox -- Mark Mentovai mark@moxienet.com http://www.moxienet.com/
Technical Details
Message-ID:
<mark-3011981506230001@moxienet.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<36628079.35861430@eso.org> <1rzp99mk61.fsf@haey.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <mark-3011981506230001@moxienet.com> Subject: Re: Reading the contents of CNFS devices Date: Mon, 30 Nov 1998 00:00:00 +0000 From: mark@moxienet.com (Mark Mentovai) References: <36628079.35861430@eso.org> <1rzp99mk61.fsf@haey.ifi.uio.no> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 417202166 X-Complaints-To: news@liii.com X-Trace: cedar.liii.com 912456383 22018 204.180.230.25 (30 Nov 1998 20:06:23 GMT) Organization: MoxieNet NNTP-Posting-Date: 30 Nov 1998 20:06:23 GMT Newsgroups: news.software.nntp