[Catalyst] Slowness on test server caused by reverse DNS lookups
mromani at ottotecnica.com
Wed May 31 15:15:42 CEST 2006
Marcello Romani ha scritto:
> Wade.Stuart at fallon.com ha scritto:
>> catalyst-bounces at lists.rawmode.org wrote on 05/30/2006 08:51:53 AM:
>>> On 5/30/06, Marcello Romani <mromani at ottotecnica.com> wrote:
>>>> I had a problem that is possibly related to this: when trying to access
>>>> the local test server, the browser requests seemed to reach it only
>>>> after a rather lengthy delay (5 seconds or so), but if I disabled the
>>>> LAN interface everything was instantaneous.
>> Also the default timeout for a DNS reverse lookup on all platforms I am
>> aware of is at least 25 seconds. If you are seeing 5 second delays this is
>> probably some other issue not DNS.
> Now that you mention it, the delay was more like 30 secs than 5.
>> If you are seeing 25 -> 60+ second delays you may add an entry for your IP
>> address to c:\windows\system32\drivers\etc\hosts or /etc/hosts for your IP
>> ( take a look at /etc/nsswitch.conf or its variants too to make sure files
>> is listed first) -- that should take care reverse/forward dns timeouts for
> Thanks for the info. Unfortunately, as I said in another post I don't
> have that machine and that code anymore. ASAP I'll do some tests with a
> fresh noop catapp.
Unfortunately I couldn't reproduce the bug on my current ws. It could
have been due to some sort of network misconfiguration on that machine I
don't own anymore...
>>> Under Windows, something like this (i.e. an annoying delay) happens
>>> when you're running the builtin server with "-k" and using IE as the
>>> browser. Unfortunately, if you don't use the "-k" option, IE doesn't
>>> play nice with it and everything blows up. But this shouldn't have
>>> anything to do with LAN interfaces, at least in theory.
>>> If you're ever able to test under these same conditions, it would be
>>> nice to know if the problem was also present when using FireFox as the
>> Catalyst mailing list
>> Catalyst at lists.rawmode.org
More information about the Catalyst