Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
Mike -- EMAIL IGNORED wrote: On Tue, 04 Aug 2009 14:33:12 -0400, Mark H. Wood wrote: Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. Indeed there are two problems, and you nailed one of them: 1. Both

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 14:33:12 -0400, Mark H. Wood wrote: > Local DNS cache of some sort on the Fedora box? Some of my hosts run > 'nscd' (which comes with glibc) and some run BIND in cache-only mode. Indeed there are two problems, and you nailed one of them: 1. Both boxes have nscd, but it was n

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
André Warnier wrote: Mark H. Wood wrote: Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. That's also, I believe, what a local "dnsmasq" would do. But in order for the local Apache to use it, you'd have

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
Mark H. Wood wrote: Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. That's also, I believe, what a local "dnsmasq" would do. But in order for the local Apache to use it, you'd have to set 127.0.0.1 as a

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mark H. Wood
Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgpgF667txjjX.pgp Description: PGP si

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 17:06:34 +, Mike -- EMAIL IGNORED wrote: > Later examination showed that the Fedora box (the one working well) > occasionally also does a DNS lookup, but it happens very rapidly. All > the DNS activity is the same -- it is doing a reverse lookup on the > client IP address.

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 18:43:14 +0200, André Warnier wrote: [...] > Yet one appears to do tons of DNS lookups, and the other one not. Logic > would have it that there /is/ something different somewhere in either > the configuration, or some file(s) you are not thinking about right now, > that make t

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
Mike -- EMAIL IGNORED wrote: On Tue, 04 Aug 2009 16:00:54 +, Mike -- EMAIL IGNORED wrote: On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: HostNameLookups HostNameLookups Off in the only place it appears. Perhaps I should compare all files in conf.d on my two machines. Mike. [...

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 16:00:54 +, Mike -- EMAIL IGNORED wrote: > On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: > >> HostNameLookups > > HostNameLookups Off > in the only place it appears. Perhaps I should compare all files in > conf.d on my two machines. > > Mike. > [...] I did the

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: > HostNameLookups HostNameLookups Off in the only place it appears. Perhaps I should compare all files in conf.d on my two machines. Mike. - The official User-To-User suppo

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Tom Evans
On Tue, 2009-08-04 at 15:05 +, 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

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
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#for