Date: Fri, 3 Aug 2001 18:42:42 -0400 From: "Jonathan M. Slivko" <jslivko@blinx.net> To: "'Graham White'" <graham@bravenet.com>, "'BSD!'" <questions@freebsd.org> Subject: RE: Perl -Apache shutdown and restart script Message-ID: <000001c11c6d$9c9e2f30$6401a8c0@equinox> In-Reply-To: <CIEEIPPHEMBKLIMPEJFBAEAGCEAA.graham@bravenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Why make it restart only Apache, why not make it restart other things too, things that might not be so mission-critical to you. Also, as I always say: if it doesn't work to your expectations, you can always throw hardware at it! -- Jonathan -- Jonathan M. Slivko <jslivko@blinx.net> Blinx Networks, Inc. http://www.blinx.net -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Graham White Sent: Friday, August 03, 2001 6:38 PM To: BSD! Subject: Perl -Apache shutdown and restart script Does anyone have an example of a perl script that constantly loops checking the machines loadaverage, if the loadaverage is higher than a certain number then the script will shutdown and restart a program like apache. Thanks! GW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c11c6d$9c9e2f30$6401a8c0>
