chiark / gitweb /
debugging for thing that crashed
[inn-innduct.git] / doc / man / innwatch.8
1 .TH INNWATCH 8
2 .SH NAME
3 innwatch \- monitor innd.
4 .SH SYNOPSIS
5 .B innwatch 
6
7 .BI -l " logfile"
8 ]
9 [
10 .BI -t " seconds"
11 ]
12 .SH DESCRIPTION
13 .I Innwatch
14 is normally started by
15 .IR rc.news .
16 It periodically \(em every
17 .I <innwatchsleeptime in inn.conf>
18 seconds \(em examines the load average, and the number of free blocks
19 and inodes on the spool partition, as described by its
20 control file,
21 .IR innwatch.ctl .
22 .PP
23 If the load gets too high, or the disk gets too full, it throttles the server.
24 When the condition restores, it unblocks the server.
25 In addition, on each pass through the loop it will check the
26 logfile
27 .I <pathlog in inn.conf>/news.crit
28 to see if it has been modified, and send mail to the news administrator
29 if so.
30 .PP
31 Upon receipt of an interrupt signal (SIGINT),
32 .IR innwatch
33 will report its status in the file
34 .IR <pathrun\ in\ inn.conf>/innwatch.status .
35 .SH OPTIONS
36 .TP
37 .B \-l logfile
38 To specify a log file to watch, other than the default of 
39 .IR news.crit ,
40 use the ``\fB\-l\fP'' flag.
41 .TP
42 .B \-t seconds
43 To change the period between checks from the default from
44 .I inn.conf ,
45 use the ``\fB\-t\fP''
46 flag.
47 .SH HISTORY
48 Written by Mike Cooper <mcooper@usc.edu>, with modifications by
49 <kre@munnari.oz.au>,  Steve Groom <stevo@elroy.Jpl.Nasa.Gov> and
50 Christophe Wolfhugel <wolf@pasteur.fr>.
51 .de R$
52 This is revision \\$3, dated \\$4.
53 ..
54 .R$ $Id: innwatch.8 5909 2002-12-03 05:17:18Z vinocur $
55 .SH "SEE ALSO"
56 ctlinnd(8), 
57 inn.conf(5),
58 innwatch.ctl(5),
59 shlock(1).