🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by David Carmean Fri, 13 Mar 1998 00:00
/var/spool/news vs. /var/news/spool
#26843
Author: David Carmean
Date: Fri, 13 Mar 1998 00:00
24 lines
1472 bytes
OK, I'll admit that I've only really been in the *nix "universe" 
for about four years, so I don't know much of the history 
of the various flavors, but "/var/spool/news" seems like the 
"right" place to keep a news spool.  But at least the latest 
INN distributions have "/var/news/spool" in the sample 
"config.data".

The Solaris filesystem(5) manpage says that /var/news is 
"not the same as Usenet-style news."  Is this a sysV-ism, 
or just Sun?  To me, /var/spool/news seems like a 
natural extension from /var/spool/uucp, where news started 
out, right?

Where do you put your article and overview storage, and why?

Thx...

-- 
David Carmean                                           <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA			+1-805-730-7740
  PGP fingerprint =  B1 57 EB A8 1D B9 87 86  5F 5C 51 A4 F2 5E ED FD

Re: /var/spool/news vs. /var/news/spool
#26824
Author: Russ Allbery
Date: Fri, 13 Mar 1998 00:00
37 lines
1970 bytes
st paul's wort <rone> writes:
> David Carmean <dlc@silcom.com> wrote:

>> Where do you put your article and overview storage, and why?

/news/spool and /news/overview.  History is in /news/history, outgoing is
in /news/outgoing, and incoming is in /news/incoming.  Everything else,
including the active file and all the configuration, is under /var/news
except for logs, which are in /var/log/news as is traditional.

/news in my main servers is a RAID, which at least in my experience does a
somewhat decent job of distributing the load across multiple spindles
(although there's a whole swamp of configuration details involved there).

> One point that Landon Curt Noll made at a recent BayLISA gathering was
> that the points of stress for an INN system are, in no particular order:

>     active
>     history
>     out.going
>     spool
>     log
>     overview

It's probably worth noting that out.going won't be as much of a stress
point, at least in theory, if you're running innfeed.  It still gets hit
by hosts with backlog, but if most of your peers are keeping up, you're
not writing much to disk.

(At least, that's what my intuition tells me, but I'm not an internals or
performance expert, just another news admin.)

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

Re: /var/spool/news vs. /var/news/spool
#26828
Author: Terry Kennedy
Date: Fri, 13 Mar 1998 00:00
22 lines
1367 bytes
David Carmean <dlc@silcom.com> writes:
> Where do you put your article and overview storage, and why?

  For C News:

Filesystem      1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0g          761839   409363   314384    57%    /news
/dev/sp0a        16206880 10300571  5095964    67%    /news/spool
/dev/sd5h         2538476   251112  2160440    10%    /news/novdata

  And sometimes:

/dev/sd4h					      /news/spool/.0

  where .0 has the in.coming and out.* directories

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)

Re: /var/spool/news vs. /var/news/spool
#26829
Author: st. paul's wort
Date: Fri, 13 Mar 1998 00:00
40 lines
2002 bytes
In article <6ebqn3$2uv$1@newacme.west.net>,
David Carmean  <dlc@silcom.com> wrote:
>OK, I'll admit that I've only really been in the *nix "universe" 
>for about four years, so I don't know much of the history 
>of the various flavors, but "/var/spool/news" seems like the 
>"right" place to keep a news spool.  But at least the latest 
>INN distributions have "/var/news/spool" in the sample 
>"config.data".

Bah, what do they know, anyway?

>Where do you put your article and overview storage, and why?

I put it on /usr/local/newsspool on my FreeBSD box.  Best's INN
servers have it under /news/spool.

One point that Landon Curt Noll made at a recent BayLISA gathering was
that the points of stress for an INN system are, in no particular order:

    active
    history
    out.going
    spool
    log
    overview

Nowadays people, on average, put active and history files on one
partition and out.going, spool, and overview on another, which should
be different that the logs partition.  To take it even further, you
could put each stress point on its own spindle, or even separate, say,
alt.binaries from the rest of the spool.  Under what directories i put
each part of the system would depend on my disk and directory setup.

rone
-- 
The finest day that i ever had
Was when i learned to cry on demand

Re: /var/spool/news vs. /var/news/spool
#26863
Author: Curt Welch
Date: Fri, 13 Mar 1998 00:00
11 lines
1059 bytes
David Carmean <dlc@silcom.com> wrote:
> Where do you put your article and overview storage, and why?

Where does the 500 pound gorilla sit?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: /var/spool/news vs. /var/news/spool
#26865
Author: David Carmean
Date: Sat, 14 Mar 1998 00:00
23 lines
1499 bytes
Curt Welch <curt@kcwc.com> wrote:
> David Carmean <dlc@silcom.com> wrote:

> > Where do you put your article and overview storage, and why?

> When setting up a new system, I tend to follow the defaults
> of the package (i.e. inn), and then adjust where things fall
> with symbolic links if need be.  This way, when installing scripts etc
> the default paths will usually work correctly without adjustment,
> but I can still control what goes where relative to the disks
> I have.

Oooh...doesn't this mean you have another inode to access millions 
of times per day?  


-- 
David Carmean                                           <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA			+1-805-730-7740
  PGP fingerprint =  B1 57 EB A8 1D B9 87 86  5F 5C 51 A4 F2 5E ED FD

Re: /var/spool/news vs. /var/news/spool
#26871
Author: Curt Welch
Date: Sat, 14 Mar 1998 00:00
20 lines
1497 bytes
David Carmean <dlc@silcom.com> wrote:
> Where do you put your article and overview storage, and why?

When setting up a new system, I tend to follow the defaults
of the package (i.e. inn), and then adjust where things fall
with symbolic links if need be.  This way, when installing scripts etc
the default paths will usually work correctly without adjustment,
but I can still control what goes where relative to the disks
I have.

When upgrading, I tened to leave the system as it is, even if
the new version of software has a different idea of where things
should go.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: /var/spool/news vs. /var/news/spool
#26883
Author: Curt Welch
Date: Sun, 15 Mar 1998 00:00
30 lines
1984 bytes
David Carmean <dlc@silcom.com> wrote:
> Curt Welch <curt@kcwc.com> wrote:
> > David Carmean <dlc@silcom.com> wrote:
>
> > > Where do you put your article and overview storage, and why?
>
> > When setting up a new system, I tend to follow the defaults
> > of the package (i.e. inn), and then adjust where things fall
> > with symbolic links if need be.  This way, when installing scripts etc
> > the default paths will usually work correctly without adjustment,
> > but I can still control what goes where relative to the disks
> > I have.
>
> Oooh...doesn't this mean you have another inode to access millions
> of times per day?

Could be.  But it's not a problem.

I suspect most programs like inn will do a chdir to the root of the
spool so any links in that path will only be followed once.  And, any
link that is accessed millions of times a day will be cached in
memory so we are only talking about a little more CPU time - which
is seldom the problem on news servers.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

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