Article View: news.software.nntp
Article #5845Re: INN 1.4, OSF/1 3.2d news spool "no space" woes
From: Anne Bennett
Date: Wed, 20 Mar 1996 00:00
Date: Wed, 20 Mar 1996 00:00
38 lines
2651 bytes
2651 bytes
TM <dupree@nai.net> writes:
>> Server throttled No space (spool inodes) [innwatch:38] 0% lt 1000
> ^^
>> I've read the FAQ - and have already edited innwatch.ctl
barr@math.psu.edu (Dave Barr) writes:
> There shouldn't be a '%' there. It's probably pulling out the wrong
> field with awk.. you'll need to adjust innwatch.ctl
I'm running 1.4sec(patched) under OSF/1 2.0B, and have tweaked innwtach.ctl
several times. I currently *am* using the "%used" field instead of a number
of bytes (I strip off the %, of course) for the news spool. However, I do
use a number of bytes for the outgoing queue.
In any case, here are a few extracts from my innwatch.ctl file; I trust the
comments will help you find your way.
## If load is OK, check space (and inodes) on various filesystems
# Anne Bennett 1994/11/16: Use 2nd line (NR == 2) for OSF df
# Anne Bennett 1994/11/16: Need "df -k" for 1024 byte blocks to be reported in OSF
# Anne Bennett 1994/09/06: Use 5th field to get %diskspace used
# Anne Bennett 1995/05/12: Spool is /news/spool-{00,01,02}
## =()<!!! df -k /news/spool-00 | awk 'NR == 2 { print $5 }' | tr -d % ! gt ! @<INNWATCH_SPOOLSPACE>@ ! throttle ! No space (spool-00)>()=
!!! df -k /news/spool-00 | awk 'NR == 2 { print $5 }' | tr -d % ! gt ! 98 ! throttle ! No space (spool-00)
# Anne Bennett 1994/09/06: 4th field gets kbytes free
## =()<!!! df -k @<_PATH_BATCHDIR>@ | awk 'NR == 2 { print $4 }' ! lt ! @<INNWATCH_BATCHSPACE>@ ! throttle ! No space (newsq)>()=
!!! df -k /var/spool/news/out.going | awk 'NR == 2 { print $4 }' ! lt ! 100000 ! throttle ! No space (newsq)
Anne.
--
Ms. Anne Bennett anne@alcor.concordia.ca (514) 848-7606
Computing Services, Concordia University, Montreal QC, Canada H3G 1M8
(Administrator for Concordia University mail relay and news transfer)
Technical Details
Message-ID:
<4iplce$t24@newsflash.concordia.ca>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:
<3141EA08.90F@csusys.ctstateu.edu> <4htcl7$4tb@augusta.math.psu.edu>Show Full Headers
Complete Article Headers
Message-ID: <4iplce$t24@newsflash.concordia.ca> Subject: Re: INN 1.4, OSF/1 3.2d news spool "no space" woes Date: Wed, 20 Mar 1996 00:00:00 +0000 From: anne@alcor.concordia.ca (Anne Bennett) References: <3141EA08.90F@csusys.ctstateu.edu> <4htcl7$4tb@augusta.math.psu.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-mail X-Deja-AN: 143225794 Distribution: inet Organization: Concordia University, Montreal, Canada Reply-to: Anne Bennett <anne@alcor.concordia.ca> Newsgroups: news.software.nntp Nntp-posting-user: anne