🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17034

Re: Throttle problems. Help needed.

#17034
From: Dick Chimenti
Date: Wed, 16 Apr 1997 00:00
80 lines
3909 bytes
Looks like your df output is not what innwatch is expecting.  The fourth
field should be free space in Kb.

In article <bsuthoff-1504971112390001@bsuthoff.arrowct.com>, bsuthoff@deletethis.arrowct.com (Brian Suthoff) writes:
|> With some help, I finally got INN installed and running on Solaris 2.5.
|> It's an internal news server only, no feeds to or from the outside world.
|> The problem I'm having is that innwatch(?) keeps throttling the server
|> because it thinks it doesn't have enough disk space. How can I convince it
|> to run a little tighter?
|> 
|> I included the following stat message and an excerpt from innwatch.ctl.
|> 
|> Thanks for the help,
|> 
|> Brian
|> bsuthoff@arrowct.com
|> 
|> 
|> # ./innstat
|> Server status:
|> Server throttled No space (spool) [innwatch:32]  lt 8000
|> Allowing remote connections
|> Parameters c 14 i 50 (0) l 1000000 o 51 t 300 H 2 T 60 X 0 normal specified
|> Not reserved
|> Readers separate enabled
|> 
|> Disk usage:
|> /usr               (/dev/dsk/c0t3d0s6 ):  674792 blocks   406924 files
|> 
|> Batch file sizes:
|> 
|> Log file sizes:
|> news.crit: No such file or directory
|> news.err: No such file or directory
|> news.notice: No such file or directory
|>    0 errlog           2 news             2 nntpsend.log
|> 
|> Lock files:
|> LOCK.innwatch
|> 
|> 
|> 
|> Excerpt from innwatch.ctl
|> -------------------------
|> ##  If load is OK, check space (and inodes) on various filesystems
|> ##  =()<!!! @<INNWATCH_DF>@ . | awk 'NR == 2 { print $@<INNWATCH_BLOCKS>@ }' ! l
|> t ! @<INNWATCH_SPOOLSPACE>@ ! throttle ! No space (spool)>()=
|> !!! /bin/df . | awk 'NR == 2 { print $4 }' ! lt ! 8000 ! throttle ! No space (sp
|> ool)
|> ##  =()<!!! @<INNWATCH_DF>@ @<_PATH_BATCHDIR>@ | awk 'NR == 2 { print $@<INNWATC
|> H_BLOCKS>@ }' ! lt ! @<INNWATCH_BATCHSPACE>@ ! throttle ! No space (newsq)>()=
|> !!! /bin/df /var/news/spool/out.going | awk 'NR == 2 { print $4 }' ! lt ! 800 ! 
|> throttle ! No space (newsq)
|> ##  =()<!!! @<INNWATCH_DF>@ @<_PATH_NEWSLIB>@ | awk 'NR == 2 { print $@<INNWATCH
|> _BLOCKS>@ }' ! lt ! @<INNWATCH_LIBSPACE>@ ! throttle ! No space (newslib)>()=
|> !!! /bin/df /var/news/etc | awk 'NR == 2 { print $4 }' ! lt ! 25000 ! throttle !
|>  No space (newslib)
|> ##  =()<!!! @<INNWATCH_DF>@ -i . | awk 'NR == 2 { print $@<INNWATCH_INODES>@ }' 
|> ! lt ! @<INNWATCH_SPOOLNODES>@ ! throttle ! No space (spool inodes)>()=
|> !!! /bin/df -i . | awk 'NR == 2 { print $7 }' ! lt ! 200 ! throttle ! No space (
|> spool inodes)
|> ##  =()<!!! @<INNWATCH_DF>@ @<_PATH_OVERVIEWDIR>@ | awk 'NR == 2 { print $@<INNW
|> ATCH_BLOCKS>@ }' ! lt ! @<INNWATCH_SPOOLSPACE>@ ! throttle ! No space (overview)
|> >()=
|> !!! /bin/df /var/news/spool/over.view | awk 'NR == 2 { print $4 }' ! lt ! 8000 !
|>  throttle ! No space (overview)
|> 
|> -----------------------------------------------------------------
|> mailto:bsuthoff@arrowct.com
|> Don't just use "reply" to send me email. To combat auto-mailers I
|> added "detethis" to my email address.
|> -----------------------------------------------------------------

-- 

Dick Chimenti					chimenti@vnet.ibm.com
  .... and of course "the above doesn't represent official ibm policy"

Technical Details
Message-ID: <5j2r1r$kpk$2@sjnews.sanjose.ibm.com>
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
References: <bsuthoff-1504971112390001@bsuthoff.arrowct.com>

Show Full Headers
Complete Article Headers
Message-ID: <5j2r1r$kpk$2@sjnews.sanjose.ibm.com>
Subject: Re: Throttle problems. Help needed.
Date: Wed, 16 Apr 1997 00:00:00 +0000
From: chimenti@vacuum.stl.ibm.com (Dick Chimenti)
References: <bsuthoff-1504971112390001@bsuthoff.arrowct.com>
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: 235221022
Distribution: inet
Organization: IBM Global Services
Reply-To: chimenti@vnet.ibm.com
Newsgroups: news.software.nntp