On Tue, 2009-08-04 at 15:05 +0000, Mike -- EMAIL IGNORED wrote:
> 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.
> 

I doubt they are running identical configurations then. At a pinch, I
would guess that the slow one has 'HostNameLookups On' (or worse:
Double). 
It would be impossible to help further on this without actual conf
files.

Tom


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to