Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!gatech!news.mathworks.com!solaris.cc.vt.edu!news.seanet.com!news.seanet.com!michaelv
From: michaelv@MindBender.HeadCandy.com (Michael L. VanLoon)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.protocols.tcp-ip.domains
Subject: Re: named running out of memory and aborting?
Date: 16 Nov 1995 05:15:13 GMT
Organization: HeadCandy Associates... Sweets for the lobes.
Lines: 22
Distribution: inet
Message-ID: <MICHAELV.95Nov15211515@MindBender.HeadCandy.com>
References: <487p7f$7ia@ionews.io.org> <488pc7$2qq@hustle.rahul.net>
<48bo8f$10p@ionews.io.org>
NNTP-Posting-Host: mindbender.seanet.com
In-reply-to: taob@ionews.io.org's message of 14 Nov 1995 22:53:51 -0500
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1503 comp.protocols.tcp-ip.domains:8421
In article <48bo8f$10p@ionews.io.org> taob@ionews.io.org (Brian Tao) writes:
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? ;-)
He said cron, not named. ;-)
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Michael L. VanLoon michaelv@HeadCandy.com
--< Free your mind and your machine -- NetBSD free un*x >--
NetBSD working ports: 386+PC, Mac 68k, Amiga, HP300, Sun3, Sun4,
DEC PMAX (MIPS), DEC Alpha, PC532
NetBSD ports in progress: VAX, Atari 68k, others...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -