From owner-freebsd-stable Tue Jul 30 6:18:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BB4937B400 for ; Tue, 30 Jul 2002 06:18:47 -0700 (PDT) Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by mx1.FreeBSD.org (Postfix) with SMTP id B019043E31 for ; Tue, 30 Jul 2002 06:18:46 -0700 (PDT) (envelope-from greg.panula@dolaninformation.com) Received: (qmail 71185 invoked by uid 0); 30 Jul 2002 13:18:46 -0000 Received: from greg.panula@dolaninformation.com by proxy with qmail-scanner-0.96 (. Clean. Processed in 0.401152 secs); 30 Jul 2002 13:18:46 -0000 X-Qmail-Scanner-Mail-From: greg.panula@dolaninformation.com via proxy X-Qmail-Scanner-Rcpt-To: stable@freebsd.org X-Qmail-Scanner: 0.96 (No viruses found. Processed in 0.401152 secs) Received: from unknown (HELO mail.dolanmedia.com) (10.1.1.23) by host185.dolanmedia.com with SMTP; 30 Jul 2002 13:18:45 -0000 Received: from dolaninformation.com (10.1.1.135) by mail.dolanmedia.com (Worldmail 1.3.167) for stable@freebsd.org; 30 Jul 2002 08:18:45 -0500 Message-ID: <3D469235.D58E4A4@dolaninformation.com> Date: Tue, 30 Jul 2002 08:18:45 -0500 From: Greg Panula Reply-To: greg.panula@dolaninformation.com Organization: Dolan Information Center Inc X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Subject: bind crash Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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