🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Anne Bennett Wed, 20 Mar 1996 00:00
Re: INN 1.4, OSF/1 3.2d news spool "no space" woes
#5845
Author: Anne Bennett
Date: Wed, 20 Mar 1996 00:00
38 lines
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) 

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