Article View: news.software.nntp
Article #6295Re: How to get warnings *before* server is throttled?
From: Peter Peters
Date: Thu, 04 Apr 1996 00:00
Date: Thu, 04 Apr 1996 00:00
32 lines
2435 bytes
2435 bytes
In article <4jur5v$38i@solaris.cc.vt.edu> jarrell@solaris.cc.vt.edu (Ron Jarrell) writes:
>Peter Peters (p.g.m.peters@civ.utwente.nl) wrote:
>: If I would want to do the things you want I would add something like:
>: !!! bdf . | awk 'NR == 2 { print $4 }' ! lt ! 10000 ! reserve ! No space (sp)
>:
>: This will reserve innd so anybody running ctlinnd mode would see this state
>Unfortunately then you'll run yourself out of disk... Once it reserves
>with something like "No space (spool) 8542 lt 10000" it can't throttle,
>because "No space (spool) 7022 lt 10000" isn't the same message.
That is true but somebody should take action. And if you run out of diskspace
innd will throttle itself and news.daily will unthrottle innd afterwards.
Lately I have had innd throttle itself because innwatch noticed the diskspace
was just over the trigger value but in the last 10 minutes (my sleeptime)
there came a number of big binary articles so the disk was full before the
next run of innwatch.
My solution doesn't work without changing innwatch. By carefully examining
innwatch I noticed innwatch doesn't recognize reserve as a ctlinnd command.
Innwatch has to be changed. I am looking into that now. When changing innwatch
I can try to make innwatch remember its reserve reason and use that to
throttle or unreserve (reserve "") innd before it throttles innd.
Peter
--
_ __ _ __ | Universiteit Twente
' ) ) _/_ ' ) ) _/_ | CIV - TSO (TWRC D108)
/--' _ / _ __ /--' _ / _ __ _ | voice (053) 489 23 01
/ </_<__</_/ (_ / </_<__</_/ (_/_)_ | fax (053) 489 23 83
http://www.nic.utwente.nl/peter/index.html
Technical Details
Message-ID:
<p.g.m.peters.2766.316394BE@civ.utwente.nl>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:
<8268bjw8j3.fsf@hawk.eecs.umich.edu> <p.g.m.peters.2760.3162954B@civ.utwente.nl> <4jur5v$38i@solaris.cc.vt.edu>Show Full Headers
Complete Article Headers
Message-ID: <p.g.m.peters.2766.316394BE@civ.utwente.nl> Subject: Re: How to get warnings *before* server is throttled? Date: Thu, 04 Apr 1996 00:00:00 +0000 From: p.g.m.peters@civ.utwente.nl (Peter Peters) References: <8268bjw8j3.fsf@hawk.eecs.umich.edu> <p.g.m.peters.2760.3162954B@civ.utwente.nl> <4jur5v$38i@solaris.cc.vt.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: 145757122 Distribution: inet Organization: Universiteit Twente Newsgroups: news.software.nntp