Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2003 08:25:26 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Rich Morin <rdm@cfcl.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 2nd copy of named is dying
Message-ID:  <20031010072526.GA72477@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <p06002030bbab876205de@[192.168.254.205]>
References:  <p06002030bbab876205de@[192.168.254.205]>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031010072526.GA72477>