Date: Mon, 29 Oct 2007 12:48:51 -0700 (PDT) From: Nick Johnson <freebsd@spatula.net> To: freebsd-java@freebsd.org Subject: Re: negative dns caching problem *resolved* (was Re: JDK 1.5.0 patchset 7 "South China") Message-ID: <20071029121826.T25435@turing> In-Reply-To: <20071028141053.G25435@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071029121826.T25435>