NetBSD Problem Report #38638

From bouyer@chassiron.antioche.eu.org  Mon May 12 14:01:05 2008
Return-Path: <bouyer@chassiron.antioche.eu.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 4BDA763B8BC
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 May 2008 14:01:05 +0000 (UTC)
Message-Id: <200805121400.m4CE0wZc001958@chassiron.antioche.eu.org>
Date: Mon, 12 May 2008 16:00:58 +0200 (MEST)
From: bouyer@antioche.eu.org
Reply-To: bouyer@antioche.eu.org
To: gnats-bugs@gnats.NetBSD.org
Subject: named(9) spams syslog
X-Send-Pr-Version: 3.95

>Number:         38638
>Category:       bin
>Synopsis:       named(9) spams syslog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 12 14:05:00 +0000 2008
>Originator:     Manuel Bouyer
>Release:        NetBSD 4.99.62
>Organization:
>Environment:
System: NetBSD chassiron.antioche.eu.org 4.99.62 NetBSD 4.99.62 (CHASSIRON) #1: Sun May 4 21:57:20 CEST 2008 bouyer@rock:/dsk/l1/misc/bouyer/tmp/sparc/obj/dsk/l1/misc/bouyer/current/src/sys/arch/sparc/compile/CHASSIRON sparc
Architecture: sparc
Machine: sparc
>Description:
	When the interface with the default route is down (e.g. because pppoe
	didn't reconnect properly), named spams syslog with messages like
May 12 15:35:00 chassiron.localhost named[184]: /dsk/l1/misc/bouyer/current/src/dist/bind/lib/isc/unix/socket.c:1175: unexpected error:
May 12 15:35:00 chassiron.localhost named[184]: internal_send: 128.63.2.53#53: Network is down
[...]
May 12 15:35:03 chassiron.localhost named[184]: /dsk/l1/misc/bouyer/current/src/dist/bind/lib/isc/unix/socket.c:1175: unexpected error:
May 12 15:35:03 chassiron.localhost named[184]: internal_send: 2001:478:65::53#53: Network is down

there are more than 10 of these messages per seconds (on a sparc IPX, on an
up to date system I immagine it'd be much more than that), quickly filling
up /var/log/message, causing loss of important informations (e.g. the
cause of the "Network is down"). 


>How-To-Repeat:
	setup named, "ifconfig down" the interface connecting to the
	default gw.
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.