From owner-freebsd-arch@FreeBSD.ORG Tue Aug 23 07:47:47 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D09A116A41F for ; Tue, 23 Aug 2005 07:47:47 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from mail12.syd.optusnet.com.au (mail12.syd.optusnet.com.au [211.29.132.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3852143D45 for ; Tue, 23 Aug 2005 07:47:47 +0000 (GMT) (envelope-from PeterJeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail12.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id j7N7lidZ020763 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 23 Aug 2005 17:47:45 +1000 Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.10/8.12.10) with ESMTP id j7N7liSR038861; Tue, 23 Aug 2005 17:47:44 +1000 (EST) (envelope-from pjeremy@cirb503493.alcatel.com.au) Received: (from pjeremy@localhost) by cirb503493.alcatel.com.au (8.12.10/8.12.9/Submit) id j7N7lhcY038860; Tue, 23 Aug 2005 17:47:43 +1000 (EST) (envelope-from pjeremy) Date: Tue, 23 Aug 2005 17:47:43 +1000 From: Peter Jeremy To: Matthew Reimer Message-ID: <20050823074743.GC37107@cirb503493.alcatel.com.au> References: <200508221318.46908.mreimer@vpop.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200508221318.46908.mreimer@vpop.net> User-Agent: Mutt/1.4.2i Cc: arch@freebsd.org Subject: Re: [CFR] reflect resolv.conf update to running application X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 07:47:47 -0000 On Mon, 2005-Aug-22 13:18:46 -0700, Matthew Reimer wrote: >How about just stat'ing resolv.conf if more than X seconds has passed since >the last stat, rather than for every lookup? That reduces the number of stat() calls but doesn't resolve the possibility of reading a half-written resolv.conf. -- Peter Jeremy