Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 08:18:45 -0500
From:      Greg Panula <greg.panula@dolaninformation.com>
To:        stable@freebsd.org
Subject:   bind crash
Message-ID:  <3D469235.D58E4A4@dolaninformation.com>

next in thread | raw e-mail | index | archive | help
Howdy,

	My bind daemon crashed yesterday and I was curious if anyone had any
suggestions to reason why.  The box is running freebsd 4.6-stable, code
from 07/11/2002.

	Here are the syslog messages that were generated:
Jul 29 14:19:42 named[64031]:
/usr2/src-tree/freebsd-stable/July-11th-2002/prefix/src/usr.sbin/named/../../contrib/bind/bin/named/ns_main.c:559:
INSIST(errno == EINTR): Invalid argument failed.
Jul 29 14:19:42 /kernel: Jul 29 14:19:42 named[64031]:
/usr2/src-tree/freebsd-stable/July-11th-2002/prefix/src/usr.sbin/named/../../contrib/bind/bin/named/ns_main.c:559:
INSIST(errno == EINTR): Invalid argument failed.
Jul 29 14:19:42 /kernel: pid 64031 (named), uid 53: exited on signal 6
Jul 29 14:19:42 /kernel: Jul 29 14:19:42 /kernel: pid 64031 (named), uid
53: exited on signal 6


Here is the snippit of code from ns_main.c referenced in the syslog
message:

        ns_notice(ns_log_default, "Ready to answer queries.");
        gettime(&tt);
        prime_cache();
        while (!needs_exit) {
                evEvent event;
 
                ns_debug(ns_log_default, 15, "main loop");
                if (needs != 0)
                        handle_needs();
                else if (evGetNext(ev, &event, EV_WAIT) != -1)
                        INSIST_ERR(evDispatch(ev, event) != -1);
                else
         line 559 ----> INSIST_ERR(errno == EINTR);
        }

I cvsup'd down the latest version of ns_main.c and there weren't
difference between today's version and 07/11/2002's version.

Previously the bind daemon had been up for about 7-8 days until this
crash.  This is the first time bind has crashed on this machine(it has
been doing dns duties for close to two years now, without a crash).

Thanks,
  Greg

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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