From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 00:26:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFC2A16A4B3 for ; Fri, 10 Oct 2003 00:26:10 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C025D43F75 for ; Fri, 10 Oct 2003 00:26:08 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h9A7PQ9E073259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Oct 2003 08:25:40 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id h9A7PQt2073258; Fri, 10 Oct 2003 08:25:26 +0100 (BST) (envelope-from matthew) Date: Fri, 10 Oct 2003 08:25:26 +0100 From: Matthew Seaman To: Rich Morin Message-ID: <20031010072526.GA72477@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Rich Morin , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: 2nd copy of named is dying X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2003 07:26:10 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 09, 2003 at 02:50:20PM -0700, Rich Morin wrote: > I run two copies of named(8), out of /etc/rc.network: >=20 > ${named_program:-named} ${named_flags} /etc/namedb/named.conf > ${named_program:-named} ${named_flags} /etc/namedb/lan/named.conf >=20 > This seems to work fine, except that the second instance of named > occasionally (like, once a month) disappears. Any suggestions as > to how to track down the reason for this? What does named(8) write into the system logs? Does the failing named(8) show any symptoms, like slowing down or sucking up huge amounts of memory before it falls over? Does it leave a core file? This sort of thing can be tricky to deal with until you get some sort of inkling about what is going wrong. Your best recourse until then is simply to increase the logging levels, turn on query logging and so forth. Keep scanning the log output and see if you can correlate named.conf failures with what happens in the log files. Look at the documentation on the logging command in named.conf to see how to do that: /usr/share/doc/bind/html/logging.html One possibility is simply that your system is running out of swap space, at which point the kernel will kill the largest process (that this has happened should be obvious from the system log). It should be fairly simple to pick up shortness of VM resources by using vmstat(8), or by running top(1) or systat(8). named(8) also has configuration commands to allow it to control how much memory it does use. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/hl7mdtESqEQa7a0RAnaNAJ9Hxq58VqKKqF0A5OJQQxwCEOCSVACgl+0z h7MzXU0Cyvx6GA09w0CPPnU= =tkE4 -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--