Re: excessive dns slows httpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 04 Aug 2009 08:22:14 +0200, André Warnier wrote:

[...]
>> 
> You could first check the obvious, such as whether in your Apache/Centos
> config, you are not *asking* the server to do these DNS lookups. Look
> here for instance :
> http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats (I mean
> that if your are asking Apache to log the *name* of the client in the
> access log for instance, then it has to do a lookup) Any time, anywhere,
> where Apache, for whatever reason, has to translate an IP address into a
> name or vice-versa, may result in this behaviour.
> 
[...]

In LogFormat, I changed %h to %a, which hat no effect.  I did "solve"
the problem by completely blocking DNS in iptables.  As it happens,
in my present configuration, this is not a problem, but I would hardly
call it a satisfactory solution.  Remember, the httpd.config works
without problem on a neighboring box (with a different OS).

Mike.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux