🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Robin Chen Wed, 18 Nov 1998 00:00
cnfsstat and some more
#33004
Author: Robin Chen
Date: Wed, 18 Nov 1998 00:00
56 lines
2268 bytes
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?

Here's what I have..  btw, I just cleaned out cycbuffs because I was reading
alt.cellular.gsm, and the articles are coming from alt.binaries.erotica.  It
seems that overview info are pointing to the wrong address on many groups I
read.

cycbuff.conf: (/newspool is a 16GB ccd drive)  btw, what strip size should I
use on ccd using cnfs?
cycbuff:ONE:/newspool/cycbuffs/one:8000000
cycbuff:TWO:/newspool/cycbuffs/two:5000000
metacycbuff:ALT:ONE
metacycbuff:THEREST:TWO

storage.conf:
method cnfs {
        newsgroups: alt.*
        class: 1
        options: ALT
}

method cnfs {
        newsgroups: *
        class: 2
        options: THEREST
}

cnfsstat:
Class ALT  for groups matching "alt.*"
Integer overflow in hex number at /usr/local/news/bin/cnfsstat line 398,
<STOR> chunk 73.
 Buffer ONE, len: 3716.5 Mbytes, used: 286.80 Mbytes ( 7.7%)   0 cycles
  Newest: 1998-11-18 19:07:27,    0 days,  0:00:03 ago

Class THEREST  for groups matching "*"
Integer overflow in hex number at /usr/local/news/bin/cnfsstat line 398,
<STOR> chunk 73.
 Buffer TWO, len: 786.8125 Mbytes, used: 41.47 Mbytes ( 5.3%)   0 cycles
  Newest: 1998-11-18 19:07:14,    0 days,  0:00:16 ago


Thanks in advance for any help,

Robin

--
Remove nospam2 to e-mail me





Re: cnfsstat and some more
#33044
Author: Jon Fraser
Date: Thu, 19 Nov 1998 00:00
83 lines
3179 bytes
I had the same problem.  I reduced the cycbuffs to under
4 gb, and the problem went away.

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.

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.

We're just converting over to 2.2b2 and I'd be happy to
post my config files is anyone is interested.  I know I'd
appreciate the feedback.


Robin Chen wrote in message <7302dd$bpp$1@cancer.vividnet.com>...
>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?
>
>Here's what I have..  btw, I just cleaned out cycbuffs because I was
reading
>alt.cellular.gsm, and the articles are coming from alt.binaries.erotica.
It
>seems that overview info are pointing to the wrong address on many groups I
>read.
>
>cycbuff.conf: (/newspool is a 16GB ccd drive)  btw, what strip size should
I
>use on ccd using cnfs?
>cycbuff:ONE:/newspool/cycbuffs/one:8000000
>cycbuff:TWO:/newspool/cycbuffs/two:5000000
>metacycbuff:ALT:ONE
>metacycbuff:THEREST:TWO
>
>storage.conf:
>method cnfs {
>        newsgroups: alt.*
>        class: 1
>        options: ALT
>}
>
>method cnfs {
>        newsgroups: *
>        class: 2
>        options: THEREST
>}
>
>cnfsstat:
>Class ALT  for groups matching "alt.*"
>Integer overflow in hex number at /usr/local/news/bin/cnfsstat line 398,
><STOR> chunk 73.
> Buffer ONE, len: 3716.5 Mbytes, used: 286.80 Mbytes ( 7.7%)   0 cycles
>  Newest: 1998-11-18 19:07:27,    0 days,  0:00:03 ago
>
>Class THEREST  for groups matching "*"
>Integer overflow in hex number at /usr/local/news/bin/cnfsstat line 398,
><STOR> chunk 73.
> Buffer TWO, len: 786.8125 Mbytes, used: 41.47 Mbytes ( 5.3%)   0 cycles
>  Newest: 1998-11-18 19:07:14,    0 days,  0:00:16 ago
>
>
>Thanks in advance for any help,
>
>Robin
>
>--
>Remove nospam2 to e-mail me
>
>
>
>



Re: cnfsstat and some more
#33067
Author: Robin Chen
Date: Fri, 20 Nov 1998 00:00
35 lines
1865 bytes
Actually I'm using CCD mainly because of the history file.  Also, retention
time on a 2 gig cycbuff isn't too long on binaries groups (that's what most
of my users read).

Robin

--
Remove nospam2 to e-mail me


Jon Fraser wrote in message <731em7$mtg$1@news.bit-net.com>...
>I had the same problem.  I reduced the cycbuffs to under
>4 gb, and the problem went away.
>
>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.
>
>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.
>
>We're just converting over to 2.2b2 and I'd be happy to
>post my config files is anyone is interested.  I know I'd
>appreciate the feedback.
>
>




Re: cnfsstat and some more
#33215
Author: Jon Fraser
Date: Mon, 23 Nov 1998 00:00
43 lines
2145 bytes
We put alt.binaries.pictures into a metacycbuf with multiple cycbufs,
and alt.binaries into a metacycbuf with multiple cycbufs.

We put the history file on a separate disk, and spool/uniover on a separate
disk.

>Actually I'm using CCD mainly because of the history file.  Also, retention
>time on a 2 gig cycbuff isn't too long on binaries groups (that's what most
>of my users read).
>
>Robin
>
>--
>Remove nospam2 to e-mail me
>
>
>Jon Fraser wrote in message <731em7$mtg$1@news.bit-net.com>...
>>I had the same problem.  I reduced the cycbuffs to under
>>4 gb, and the problem went away.
>>
>>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.
>>
>>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.
>>
>>We're just converting over to 2.2b2 and I'd be happy to
>>post my config files is anyone is interested.  I know I'd
>>appreciate the feedback.
>>
>>
>
>
>



Re: cnfsstat and some more
#33263
Author: Kjetil Torgrim Homme
Date: Tue, 24 Nov 1998 00:00
40 lines
2457 bytes
[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.

Re: cnfsstat and some more
#33314
Author: 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.


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