🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33314

Re: cnfsstat and some more

#33314
From: Simon L
Date: Thu, 26 Nov 1998 00:00
51 lines
2621 bytes
Hi there,

I've missed the start of this post. Could you tell me where cnfsstat
comes from? I'd like to look at my cnfs devices.

Kind regards,

Simon

Kjetil Torgrim Homme wrote:

> [Robin Chen]
>
> >   Am I the only one having problem with cnfsstat?  I've searched
> >   dejanews, and no one seems to be getting a "Integer overflow in
> >   hex number at /usr/local/news/bin/cnfsstat line 398, <STOR> chunk
> >   73."  Is my cycbuffs too big at 8GB and 5GB?
>
> Well, under most OS the limit is 2 GB (but it won't be apparent until
> you fill up the cycbuff that far).  Your problem is with Perl, though.
> Its built in integer datatype is only 32 bits, and thus can't handle
> values larger than 2 GB.  To fix it, cnfsstat needs to use floats and
> to reimplement the hex() function.  Keep in mind that cnfsstat is a
> hack which goes poking its nose into binary structures, and it isn't
> necessarily synced to the C source code.  So a complaint from cnfsstat
> usually doesn't indicate a problem with INN.
>
> [Jon Fraser]
>
> >   If you're using cnfs, why use a stripped system?  Instead, create
> >   a cycbuff on each disk and group them into metacycbufs.  That way,
> >   if you lose a drive, you not completely hosed.
>
> Agreed.
>
> >   Smaller cycbufs/metacycbufs  give you more flexability.  Example,
> >   we put  *.test in a very small one, 64mb, *.jobs in a 256m,
> >   local groups in another,  alt.binaries, alt.binaries.pictures,
> >   alt, everything else under 1meg, etc in different ones.  That
> >   gives us more control over how long articles stay around.
>
> Remember that the disk head will have to move every time it needs to
> use a different cycbuff, so don't split your disk up too much.  I
> chuck the jobs-groups into the binaries-metacycbuff, and *announce
> into the ~1yr expire metacycbuff for local groups, for this very
> reason.
>
> Kjetil T.


Technical Details
Message-ID: <365D1A72.857D239B@eso.org>
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
References: <7302dd$bpp$1@cancer.vividnet.com> <731em7$mtg$1@news.bit-net.com> <1rsof9rj1q.fsf@haey.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <365D1A72.857D239B@eso.org>
Subject: Re: cnfsstat and some more
Date: Thu, 26 Nov 1998 00:00:00 +0000
From: Simon L <sloewent@eso.org>
References: <7302dd$bpp$1@cancer.vividnet.com> <731em7$mtg$1@news.bit-net.com> <1rsof9rj1q.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: 415839927
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Texas Education Agency
Mime-Version: 1.0
Newsgroups: news.software.nntp