🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Brian Suthoff Tue, 15 Apr 1997 00:00
Throttle problems. Help needed.
#17027
Author: Brian Suthoff
Date: Tue, 15 Apr 1997 00:00
71 lines
3280 bytes
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.
-----------------------------------------------------------------

Re: Throttle problems. Help needed.
#17034
Author: 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"

Re: Throttle problems. Help needed.
#17056
Author: Daved Daly
Date: Wed, 16 Apr 1997 00:00
28 lines
1577 bytes
Dick Chimenti wrote:
> 
> 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


I believe i read that you should use  the /usr/ucb/df
rather then the default /bin/df on a Solaris Box for this..

	??? Maybe, Maybe not..
		-Daved

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