INNWATCH(8) | InterNetNews Documentation | INNWATCH(8) |
innwatch - Monitor the state of INN and the system
innwatch [-f ctlfile] [-i seconds] [-l logfile] [-t seconds]
innwatch is normally started and stopped by rc.news when doinnwatch is set to true in inn.conf. Every innwatchsleeptime seconds, as set in inn.conf as well as other parameters tuning its behaviour, innwatch examines the load average, and the number of free blocks and inodes on the spool partition, as described by its control file, innwatch.ctl in pathetc.
If the load gets too high, or the disk gets too full, it throttles the server. When the condition restores, it unblocks the server. In addition, on each pass through the loop, it will check the logfile pathlog/news.crit to see if it has been modified, and send mail to the news administrator if so.
Upon receipt of an interrupt signal (SIGINT), innwatch will report its status in the file innwatch.status in pathrun.
Written by Mike Cooper <mcooper@usc.edu>, with modifications by <kre@munnari.oz.au>, Steve Groom <stevo@elroy.jpl.nasa.gov> and Christophe Wolfhugel <wolf@pasteur.fr>. Converted to POD by Julien Elie.
inn.conf(5), innwatch.ctl(5), newslog(5), rc.news(8).
2025-01-07 | INN 2.7.3 |