🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33924

Re: Q: server gets no articles

#33924
From: Thomas Schnider
Date: Fri, 18 Dec 1998 00:00
41 lines
2055 bytes
As far as I understand the commands in innwatch, there will be tested the
amount of free blocks and not the free kbytes. First of all I changed the
entries to the following examples (it depends about the real space on each
partition which you get with df -k) and it worked properly. After all I
decided to  disable innwatch and to work with very similar commands in
cronjobs. So I have the possibility to send me also a mail/sms when a
problem occurs.


##  Testing weather the spool area, where the articles are stored, has
enaugh space (> 2 GBytes)
##
!!! //bin/df -k ${PATHSPOOL} | awk '{ if ( NF == 6 ) { print $4 } }' ! lt !
20000000 ! throttle ! No space /var/news/
##  Testing weather the db area, where the history and the archive file is,
has enaugh space (> 400 kBytes)
##
!!! //bin/df -k ${PATHDB} | awk '{ if ( NF == 6 ) { print $4 } }' ! lt !
400000 ! throttle ! No space / (root)
##  Testing weather the var area (without /var/news) has enaugh space (> 80
kBytes)
##
!!! //bin/df -k ${PATHDB} | awk '{ if ( NF == 6 ) { print $4 } }' ! lt !
80000 ! throttle ! No space /var

I think if you'd like to, you can forget the part "if(NF==6). Anyway it will
work.

Thomas

> Server status:
> Server throttled No space (spool) [innwatch:31]  lt 8000

--
________________________________
 Thomas Schnider
   e-mail: tschnider@bluewin.ch



Technical Details
Message-ID: <367A5A1D.1A5D662B@bluewin.ch>
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: <367A1C37.1AA35328@unitele.com.my>

Show Full Headers
Complete Article Headers
Message-ID: <367A5A1D.1A5D662B@bluewin.ch>
Subject: Re: Q: server gets no articles
Date: Fri, 18 Dec 1998 00:00:00 +0000
From: Thomas Schnider <tschnider@bluewin.ch>
References: <367A1C37.1AA35328@unitele.com.my>
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: 423607134
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Swisscom AG, the blue window
Mime-Version: 1.0
Newsgroups: news.software.nntp