🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by David Swanger Tue, 10 Oct 2000 00:00
INN 2.3/Solaris questions
#48690
Author: David Swanger
Date: Tue, 10 Oct 2000 00:00
31 lines
1827 bytes
- Is there a problem with storing control.cancel articles in a
CNFS buffer?  The buffer would not have to be very large, say
500K (or smaller?).  The articles would then be self-expiring
and not be a problem at expiration time.

- If I decide to change one or more newsgroups from tradspool
to CNFS (such as control.cancel or *jobs), do I need to do any 
tasks besides rebuilding the history database?

- Several months ago, I heard (I think on this newsgroup) that 
Solaris 7 has a mount option that slightly speeds up disk access
and is good to use for the news articles volume.  I've looked on
the mount_ufs man page and I'm not sure which option to use.
Maybe I misremembered this.  Does anyone remember this?


I recently complained here about INN 2.3 crashing on my test
news server.  Since then, I've downloaded a stable snapshot
(about a month newer than the original version I installed),
did a make update and suddenly it works fine (thanks Joe!).
I think.  I'm still "tweaking" things.


--
David Swanger
Office of Information Technology
Auburn University, AL
swangdb@mail.auburn.edu

Re: INN 2.3/Solaris questions
#48689
Author: David Swanger
Date: Tue, 10 Oct 2000 00:00
33 lines
1572 bytes

One more question, the articles partition on our 
current usenet server is about 40g, tradspool only,
and is spread over several 2g disks in two disk
arrays (all Sun gear).

When I eventually make my test usenet server
the production server, I will move these disk
arrays from the current usenet server to the
usenet server.

The new usenet server will have some CNFS buffers.

Is there a problem with putting the CNFS buffers
on the current articles partition?  That is, is
there a problem with putting these buffers in:

/usr/local/news/spool/articles/CNFS


Or should I reconfigure these disk arrays and
have a separate CNFS file system and a separate
file system for tradspool?


--
David Swanger
Office of Information Technology
Auburn University, AL
swangdb@mail.auburn.edu

Re: INN 2.3/Solaris questions
#48692
Author: Richard Tobin
Date: Tue, 10 Oct 2000 00:00
19 lines
1405 bytes
In article <8rvaug$nnm$1@ultranews.duc.auburn.edu>,
David Swanger <swangdb@mail.auburn.edu> wrote:

>- Several months ago, I heard (I think on this newsgroup) that 
>Solaris 7 has a mount option that slightly speeds up disk access
>and is good to use for the news articles volume.

It makes sense to use "noatime" on a traditional spool partition, at
least if you have a lot of users.  (On our system, the number of
articles read is only a few percent of the number written, so it
probably doesn't make much difference.)

-- Richard
-- 
Spam filter: to mail me from a .com/.net site, put my surname in the headers.

printf("%.*s\n", len, str);

Re: INN 2.3/Solaris questions
#48694
Author: Russ Allbery
Date: Tue, 10 Oct 2000 00:00
15 lines
1222 bytes
David Swanger <swangdb@mail.auburn.edu> writes:

> - Is there a problem with storing control.cancel articles in a CNFS
> buffer?  The buffer would not have to be very large, say 500K (or
> smaller?).  The articles would then be self-expiring and not be a
> problem at expiration time.

No.  No problem at all.  But you'll need to set storeonxref to true;
otherwise, cancel messages will continue to be stored in the same place
as the newsgroups they affect.

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

Re: INN 2.3/Solaris questions
#48700
Author: Jeffrey M. Vinocur
Date: Tue, 10 Oct 2000 00:00
34 lines
2307 bytes
In article <yl4s2k5g7t.fsf@windlord.stanford.edu>, Russ Allbery 
<rra@stanford.edu> wrote:

:No.  No problem at all.  But you'll need to set storeonxref to true;
:otherwise, cancel messages will continue to be stored in the same place
:as the newsgroups they affect.

Hmm.  This hints at a possible good solution to something I've been 
wondering about.

I'm sucking down (with pullnews) a local hierarchy with no .control of 
its own, so cancels get stuck in control.cancel.  I just noticed that I 
wasn't sucking the control messages, so I added them to pullnews...ugh.

At present, log/news is full of unwanted newsgroup messages from the 
great majority of those articles, which get stuck in junk.  It'd be nice 
to clean up the logs, but more importantly, I'm using tradspool, and 
it's not pretty.  Running `du` in the junk directory...well, it hasn't 
finished yet.  (I'm not sure if the expire I added when I noticed this 
isn't taking effect, or if just a day's worth of junk is a lot.  Hmm.  
`du` and `ls` seem to hang, but `find|wc` tells me that there are some 
78000 articles in there.  Fun.)

So...is there some good solution, or should I just put junk on a small 
CNFS buffer and let it do its thing?


Or maybe I'll just go back not having cancels.  Oy.

-- 
Jeffrey M. Vinocur   *   jmv16@cornell.edu
http://www.people.cornell.edu/pages/jmv16/

Re: INN 2.3/Solaris questions
#48721
Author: Russ Allbery
Date: Wed, 11 Oct 2000 00:00
15 lines
1310 bytes
Jeffrey M Vinocur <jmv16@cornell.edu> writes:

> At present, log/news is full of unwanted newsgroup messages from the
> great majority of those articles, which get stuck in junk.  It'd be nice
> to clean up the logs, but more importantly, I'm using tradspool, and
> it's not pretty.  Running `du` in the junk directory...well, it hasn't
> finished yet.

Why do you have wantjunk set to true?  You don't need that to get the
control messages you want.

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

Re: INN 2.3/Solaris questions
#48728
Author: Nickolai Zeldovich
Date: Wed, 11 Oct 2000 00:00
13 lines
1388 bytes
In article <8rveud$p2s$1@ultranews.duc.auburn.edu>, David Swanger wrote:
>Is there a problem with putting the CNFS buffers
>on the current articles partition?

Personally I'd prefer to have my CNFS buffers continuous on the
actual disk, and preferably one CNFS buffer per disk. Having the
buffers being contiguous means large article writes won't incur
too much seeking overhead. I suppose having one CNFS buffer per
disk would also reduce seeking, if you expect to be reading less
than writing.

-- kolya
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