*BSD News Article 55074


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!lll-winken.llnl.gov!sol.ctr.columbia.edu!news.mindlink.net!van-bc!io.org!nobody
From: taob@ionews.io.org (Brian Tao)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.protocols.tcp-ip.domains
Subject: Re: named running out of memory and aborting?
Date: 14 Nov 1995 22:53:51 -0500
Organization: Internex Online (io.org) Data: 416-363-4151  Voice: 416-363-8676
Lines: 13
Distribution: inet
Message-ID: <48bo8f$10p@ionews.io.org>
References: <487p7f$7ia@ionews.io.org> <488pc7$2qq@hustle.rahul.net>
NNTP-Posting-Host: flinch.io.org
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1498 comp.protocols.tcp-ip.domains:8413

In article <488pc7$2qq@hustle.rahul.net>, 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.

    I imagine all it entails is a "ps -p `cat /var/run/named.pid` |
fgrep -q named" and if the exit status is 1, then named isn't running.
Got any other proprietary secrets you'd like to share?  ;-)
-- 
Brian Tao (BT300, taob@io.org)
Systems Administrator, Internex Online Inc.
"Though this be madness, yet there is method in't"