🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by staff Fri, 16 Apr 1999 00:00
Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#36692
Author: staff
Date: Fri, 16 Apr 1999 00:00
39 lines
2505 bytes
In a previous article, Russ Allbery  <rra@stanford.edu> writes:
>Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
>
>> cnfsstat should give you an idea.  It is a simple Perl script.  It will
>> not handle cycbuffs which are larger than 2 GB.
>
>It should in the current STABLE code-base, or at least I think we found
>and squashed the last bug related to that.

How about moving data in the cycbuff's.  So... let's say someone trotted
along and said, "Hey Russ, I've got these cycbuff's that I've decided I
want to remove from my metacycbuff's.  Is there a way I can  move the data
that's in them into cycbuff's that I'm going to keep?"

I've come across precious little information in docs about the structure
of the cycbuffs and even less (e.g. NONE) about manipulating the contents.
I can sum up what I know about cycbuffs in 2 sentences:

1) They're self-cycling containers for article data.
2) They're faster than before (meaning traditional storage).

That's pretty much all that's said about them.

Ideas, anyone?  Someone MUST have come up on this.  At some point in time,
I know someone did the math and realized that their news spool was sufficiently
large that their history file would hit their ext2fs filesize limit long
before the spool filled up and decided to remove a disk.

Or someone has had a disk crash and tried to salvage data out of damaged cycbuff's,
or....

-Cengiz

      -----  Posted via NewsOne.Net: Free Usenet News via the Web  -----
      -----  http://newsone.net/ --  Discussions on every subject. -----
   NewsOne.Net prohibits users from posting spam.  If this or other articles
 posted through NewsOne.Net violate posting guidelines, email abuse@newsone.net

Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#36628
Author: Russ Allbery
Date: Thu, 15 Apr 1999 00:00
40 lines
2542 bytes
staff <staff@netmar.com> writes:

> How about moving data in the cycbuff's.  So... let's say someone trotted
> along and said, "Hey Russ, I've got these cycbuff's that I've decided I
> want to remove from my metacycbuff's.  Is there a way I can move the
> data that's in them into cycbuff's that I'm going to keep?"

> I've come across precious little information in docs about the structure
> of the cycbuffs and even less (e.g. NONE) about manipulating the
> contents.

So far as I know, the only documentation is in the source code of the
storage manager at the moment.  I entirely agree that that's a deplorable
state of affairs, and would like to fix it.  Somewhere on my over-long
project list is the idea of writing some higher-level documentation of the
structure of the INN source base, the interfaces it uses, and the formats
it uses (including that one).  I think such documentation would be very
valuable in the long term, since INN is still the most flexible news
source base by far and is likely to remain so (capable of handling,
natively, everything from file feeds to channel feeds to all sorts of
random header feeds, embedding Perl and Tcl, three different disk storage
formats, both NNTP and UUCP feed handling, and both feeds and readers in a
bunch of different configurations).  Being open source, it's the logical
place to test any new news system feature, so making it more hack-friendly
by clearly documenting all the interfaces would be great.

Too few hours in the day.

> Ideas, anyone?  Someone MUST have come up on this.  At some point in
> time, I know someone did the math and realized that their news spool was
> sufficiently large that their history file would hit their ext2fs
> filesize limit long before the spool filled up and decided to remove a
> disk.

Doesn't the latest ext2fs code have large file support?  Would that help?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#36680
Author: Andrew Gierth
Date: Fri, 16 Apr 1999 00:00
16 lines
1377 bytes
>>>>> "staff" == staff  <staff@netmar.com> writes:

 [content snipped]

 Path: ...!newsfeed.cwix.com!205.139.138.14!news!not-for-mail

Oy. Fix your server's Path stamp.

(Is some broken server software using the hostname for a path stamp
without checking to see if it's unqualified? The number of defective
path entries seems to be on the increase.)

-- 
Andrew.

Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#37049
Author: Russ Allbery
Date: Tue, 27 Apr 1999 00:00
19 lines
1440 bytes
bill davidsen <davidsen@tmr.com> writes:

> I had the problem, I posted here three times, I got no response. My
> question was not how to remove stuff, mine was how to handle a
> reasonable size history file so I can use my system. Got no answer other
> than "don't keep so much old stuff."

Well... I can't think of much to say.  INN is supposed to have large file
support now, but I don't know how heavily it's been tested and I don't
know how well dbz works with it.  It sounds like the answer may be "not
well."  If I had a lot of free time at the moment, I'd do a code
walkthrough and try to figure out where it might be breaking and see if it
could be updated to work with large files, but I really am out of time
just at the moment.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#37067
Author: bill davidsen
Date: Tue, 27 Apr 1999 00:00
41 lines
2570 bytes
In article <7f681v$2bn$1@news.netmar.com>,  <staff@netmar.com> wrote:

| Ideas, anyone?  Someone MUST have come up on this.  At some point in time,
| I know someone did the math and realized that their news spool was sufficiently
| large that their history file would hit their ext2fs filesize limit long
| before the spool filled up and decided to remove a disk.

I had the problem, I posted here three times, I got no response. My
question was not how to remove stuff, mine was how to handle a
reasonable size history file so I can use my system. Got no answer other
than "don't keep so much old stuff."

If my life depended on taking out one drive while it was still viable, I
would probably make a fake cycbuff.conf file for just that drive, do a
makehistory, and pull the articles off to other storage. Then I would
build a cycbuff.conf for the remaining disks, makehistory, boot innd and
resubmit the articles, using the xrefslave feature to restore their
original article numbers.

I think this would be okay other than having them expire later than they
normally would.

Alternative:

Build a cycbuff.conf which has the drive to remove in one (new) metabuff
and the rest in another. Hack storage.conf to never store anything in
the (new) class, so that it gets less and less relevant. After whatever
time you want to wait, pull the drive to be removed, take it out of
cycbuff.conf (storage isn't using this class, no change needed), and
rebuild history yet again.


Yes, both of these have a good bit of handwaving involved, but I'm
pretty sure it would work with some fiddling.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"Anything worth doing is worth doing to excess."
	-- Fat John (R.I.P.)


Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#37094
Author: bill davidsen
Date: Wed, 28 Apr 1999 00:00
36 lines
2595 bytes
In article <yl90bdk6so.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| bill davidsen <davidsen@tmr.com> writes:
| 
| > I had the problem, I posted here three times, I got no response. My
| > question was not how to remove stuff, mine was how to handle a
| > reasonable size history file so I can use my system. Got no answer other
| > than "don't keep so much old stuff."
| 
| Well... I can't think of much to say.  INN is supposed to have large file
| support now, but I don't know how heavily it's been tested and I don't
| know how well dbz works with it.  It sounds like the answer may be "not
| well."  If I had a lot of free time at the moment, I'd do a code
| walkthrough and try to figure out where it might be breaking and see if it
| could be updated to work with large files, but I really am out of time
| just at the moment.

I'm out of time this reincarnation... if God put me on this earth to do
a certain number of things I am going to live *forever*!

But I didn't give much detail this last time, the problem is not so much
that INN can't handle large files, as that the o/s will only give me 2GB
max, and with a lot of small articles that doesn't cut it. I need more
files for real, multiple history file, like multiple cycbuffs.

I'm going to look at the problem in my spare time, I have an idea.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#37097
Author: Russ Allbery
Date: Wed, 28 Apr 1999 00:00
16 lines
1370 bytes
bill davidsen <davidsen@tmr.com> writes:

> But I didn't give much detail this last time, the problem is not so much
> that INN can't handle large files, as that the o/s will only give me 2GB
> max, and with a lot of small articles that doesn't cut it. I need more
> files for real, multiple history file, like multiple cycbuffs.

What OS are you using?  Solaris should have large file support, and I
thought recent Linux versions also did.  I can't comment on other
operating systems, but I thought that large file support was currently
available or coming soon from just about anyone.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#37115
Author: Kjetil Torgrim Homme
Date: Wed, 28 Apr 1999 00:00
25 lines
1761 bytes
[bill davidsen]

>   If my life depended on taking out one drive while it was still
>   viable, I would probably make a fake cycbuff.conf file for just
>   that drive, do a makehistory, and pull the articles off to other
>   storage. Then I would build a cycbuff.conf for the remaining
>   disks, makehistory, boot innd and resubmit the articles, using the
>   xrefslave feature to restore their original article numbers.
>   
>   I think this would be okay other than having them expire later
>   than they normally would.

It sounds like a good plan.

You'll have to tell INN to accept _old_ articles when you respool
them.  (I have some patches for sm which accepts tokens on stdin and
spits out a rnews spoolfile.  Perhaps I should submit them for
inclusion in INN.)  I think the first makehistory bit can be done with
INN running, just edit out the cycbuff in question from the real
cycbuff.conf.


Kjetil T.

Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#37195
Author: bill davidsen
Date: Mon, 03 May 1999 00:00
22 lines
1911 bytes
In article <ylso9kpbmr.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| 
| What OS are you using?  Solaris should have large file support, and I
| thought recent Linux versions also did.  I can't comment on other
| operating systems, but I thought that large file support was currently
| available or coming soon from just about anyone.

AIX. And I'm not sure that going with one huge file is optimal, even if
it becomes possible. I suspect that on 32 bit machines using smaller
files would be faster, unless you did all sorts of fancy stuff with
allocation. And of course there may be expire issues as well.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Howto track cycbuff (metacycbuff) usage in INN 2.2?
#37207
Author: Russ Allbery
Date: Mon, 03 May 1999 00:00
20 lines
1605 bytes
bill davidsen <davidsen@tmr.com> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

> | What OS are you using?  Solaris should have large file support, and I
> | thought recent Linux versions also did.  I can't comment on other
> | operating systems, but I thought that large file support was currently
> | available or coming soon from just about anyone.

> AIX. And I'm not sure that going with one huge file is optimal, even if
> it becomes possible. I suspect that on 32 bit machines using smaller
> files would be faster, unless you did all sorts of fancy stuff with
> allocation. And of course there may be expire issues as well.

Yeah, holding ten files open would probably be cheaper than going through
both 64-bit arithmetic and triple-indirect-blocks to read the file.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

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