Article View: news.software.nntp
Article #36306Re: IN 2.2, ALPHA, DU 4.0E pk 1 throttling
From: Geoff Allen
Date: Fri, 02 Apr 1999 00:00
Date: Fri, 02 Apr 1999 00:00
57 lines
3390 bytes
3390 bytes
"Mike Fagan" <mfagan@nospam.infoave.net> writes:
> Are you using CNFS or traditional spool? If you're using traditional, I bet
> I know what your problem is.... When creating and advfs volume, you can set
> the size of the extents to whatever you want to, in fact you need to make
> them quite large on a filesystem that has as many files on it as a news
> system. Do a man on mkfdmn for more information on how to do it right, but
> the correct command to create the volume for you should be something like
> 'mkfdmn -x 57600 -p 57600 /dev/whatever newsspool' You also need to do the
> addvol command something like that too... 'addvol -x 57600 -p 57600
> /dev/whatever newsspool' This will end up taking a bit more space on the
> disks to keep track of the extents, so be prepared, but it's better than
> only having 20% of your drive usable!
Yep. I took the last line of the table in the addvol and mkfdmn man
pages and used -x 2048 and -p 57600. I don't think it's ever needed
more than the 57600 pages it pre-allocated.
We just got bit by the "log half full" bug (system panics if the AdvFS
log for a file system gets half full) on our news spool, which caused
the machine to panic and toasted the news filesystem (we'd been
running for 2 years without incident). AdvFS got a bad reputation
under 3.2, but is much improved in 4.0. So, I would also suggest
making your logsize bigger (which is what Compaq support recommended
to me).
Even with its problems, I still think AdvFS is better than UFS for a
news spool. The flexibility and lack of fsck is worth it.
When I just recreated my news spool, I did:
mkfdmn -l 1024 -x 2048 -p 57600 /dev/rzxx newsspool
mkfset newsspool spool
addvol -x 2048 -p 57600 /dev/rzyy newsspool
etc.
> You could also experiment with lower
> numbers than 57600, as it might be a bit overkill for your needs.
I'm sure it is overkill, but better safe than sorry, methinks.
Oh, and make sure you defragment and balance your spool nightly (since
4.0d (I think) there's a default cron job to do just that).
Geoff, who likes AdvFS, but will be getting a hand-me-down NetApp
soon, so won't be using it for the news spool for a whole lot longer.
p.s. I don't carry alt.binaries.*. I don't know what else you'd need
to do to make sure AdvFS can handle that load!
--
Geoff Allen, geoff@wsu.edu, <http://www.wsu.edu/~geoff/>
You have to have a catcher because if you don't you're likely to have
a lot of passed balls. -- Baseball wisdom from Casey Stengel
Technical Details
Message-ID:
<u33e2ivp5l.fsf@cyclone.it.wsu.edu>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-mailReferences:
<7du00v$95p$1@isn.dac.neu.edu> <7e076o$piu$1@news3.infoave.net>Show Full Headers
Complete Article Headers
Message-ID: <u33e2ivp5l.fsf@cyclone.it.wsu.edu>
Subject: Re: IN 2.2, ALPHA, DU 4.0E pk 1 throttling
Date: Fri, 02 Apr 1999 00:00:00 +0000
From: Geoff Allen <geoff@wsu.edu>
References: <7du00v$95p$1@isn.dac.neu.edu> <7e076o$piu$1@news3.infoave.net>
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: 462029102
Content-Type: text/plain; charset=US-ASCII
X-Face: "_BN`k13tDrkELee:E\T&8/@qFA<s4?,}b2.<O<dk+b>)37yNzUboAL-pY_T} K$YUh]<~X~rq_qjZkxzqKp~jbX;t%hGlnaYz;RdU{$o-8jR[WWh-f4G;=
Organization: Professional Unix Geek, Washington State University
Mime-Version: 1.0 (generated by tm-edit 7.108)
Newsgroups: news.software.nntp