From owner-freebsd-java@FreeBSD.ORG Mon Oct 29 19:49:05 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF53D16A468 for ; Mon, 29 Oct 2007 19:49:05 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: from turing.morons.org (turing.morons.org [208.96.51.42]) by mx1.freebsd.org (Postfix) with ESMTP id AC88D13C4C3 for ; Mon, 29 Oct 2007 19:49:05 +0000 (UTC) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 34D9617037; Mon, 29 Oct 2007 12:48:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 3223F17036 for ; Mon, 29 Oct 2007 12:48:51 -0700 (PDT) Date: Mon, 29 Oct 2007 12:48:51 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing To: freebsd-java@freebsd.org In-Reply-To: <20071028141053.G25435@turing> Message-ID: <20071029121826.T25435@turing> References: <20071023195511.GA27666@misty.eyesbeyond.com> <20071023170536.H25435@turing> <20071024210348.GA34044@misty.eyesbeyond.com> <20071026205754.15950c80@tinca> <20071026121159.A25435@turing> <20071026134734.M25435@turing> <20071026162351.B25435@turing> <20071028130627.A25435@turing> <20071028141053.G25435@turing> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: negative dns caching problem *resolved* (was Re: JDK 1.5.0 patchset 7 "South China") X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 19:49:05 -0000 On Sun, 28 Oct 2007, Nick Johnson wrote: > After months of fighting with this, today I stumbled upon the answer. It > was a java command line test case that led me to it. It seems I spoke to soon. Today the problem started to manifest itself once again. I have no idea why. I'm going to try to run Tomcat without its native libraries at all for a while and see if that makes any difference. Whatever is happening seems to have something to do with a long-running process. It wasn't happening yesterday when I had recently restarted Tomcat. It is happening today with no configuration changes and with Tomcat that's been running for several hours. I'm not entirely convinced the issue is necessarily related to caching. It could also be that InetAddress just starts throwing an UnknownHostException immediately, without making any attempt at name resolution (cached or otherwise) at all. Having become fairly familiar with that code path, though, I can't imagine why it would do that. Nick -- "Courage isn't just a matter of not being frightened, you know. It's being afraid and doing what you have to do anyway." Doctor Who - Planet of the Daleks This message has been brought to you by Nick Johnson 2.3b1 and the number 6. http://healerNick.com/ http://morons.org/ http://spatula.net/