Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 4371 invoked from network); 4 Aug 2009 00:48:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Aug 2009 00:48:14 -0000 Received: (qmail 78853 invoked by uid 500); 4 Aug 2009 00:48:16 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78804 invoked by uid 500); 4 Aug 2009 00:48:16 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 78795 invoked by uid 99); 4 Aug 2009 00:48:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 00:48:16 +0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 00:48:06 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MY8Br-0005FD-Py for users@httpd.apache.org; Tue, 04 Aug 2009 00:47:43 +0000 Received: from static-71-246-219-24.washdc.fios.verizon.net ([71.246.219.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Aug 2009 00:47:43 +0000 Received: from m_d_berger_1900 by static-71-246-219-24.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Aug 2009 00:47:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: users@httpd.apache.org From: Mike -- EMAIL IGNORED Date: Tue, 4 Aug 2009 00:47:31 +0000 (UTC) Lines: 38 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: static-71-246-219-24.washdc.fios.verizon.net User-Agent: Pan/0.132 (Waxed in Black) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] excessive dns slows httpd My web server is a CentOS box thus: [root ~]# uname -a Linux mbrc21 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux root ~]# rpm -q httpd httpd-2.2.3-22.el5.centos.2 My development and standby is on a Fedora box thus: [root ~]# uname -a Linux mbrc32 2.6.23.17-88.fc7 #1 SMP Thu May 15 00:35:10 EDT 2008 i686 athlon i386 GNU/Linux [root@ ~]# rpm -q httpd httpd-2.2.8-1.fc7 They are close neighbors on my LAN. Now I recently revised my httpd.conf making it somewhat more complex and adding ssl for part of it. Running the same configuration on both boxes, I find that the Fedora box runs rapidly, while the CentOS box is very slow. Examining the situation with WireShark on both boxes I find that in responding to a simple GET, the CentOS box does a sequence of DNS queries to resolve the details of the location of the client IP address, whereas the Fedora box does no such thing. It ts these DNS queries that are causing the slow response. Now if I revert to the old configuration, there is no such problem and WireShark shows that there are no DNS queries. Advice on how to proceed would be much appreciated. Thanks, Mike. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org