*BSD News Article 55959


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!uwm.edu!news.sol.net!solaria.sol.net!not-for-mail
From: jgreco@solaria.sol.net (Joe Greco)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.protocols.tcp-ip.domains
Subject: Re: Oh those funny hacks (Re: named running out of memory)
Date: 3 Dec 1995 12:43:59 -0600
Organization: sol.net Network Services - Solaria Public Access UNIX
Lines: 16
Distribution: inet
Message-ID: <49sr5f$j38@solaria.sol.net>
References: <487p7f$7ia@ionews.io.org> <488pc7$2qq@hustle.rahul.net> <di16c8.5z2@inka.de>
NNTP-Posting-Host: solaria.sol.net
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1588 comp.protocols.tcp-ip.domains:8522

In comp.protocols.tcp-ip.domains article <di16c8.5z2@inka.de>, olaf@tapac.inka.de (Olaf Titz) wrote:
:Rahul Dhesi  <dhesi@rahul.net> wrote:
:> BTW, I have a similar cron job that restarts cron if it dies.  How this
:> is done is proprietary information, because many people will tell you
:> it's impossible.  I will let you guess whether I'm joking or not.

Impossible, no, ridiculous, yes.  Start it out of inittab/ttys/etc.  If init
dies, you're really in trouble anyways.  You get the advantage that it is
restarted right away, and uses less CPU to manage the trick.  Also no ugly
"watchdog" processes lying around that weren't already there.

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847