Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EAEB5DF43 for ; Mon, 16 Jul 2012 19:06:50 +0000 (UTC) Received: (qmail 88402 invoked by uid 500); 16 Jul 2012 19:06:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88377 invoked by uid 500); 16 Jul 2012 19:06:47 -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 88368 invoked by uid 99); 16 Jul 2012 19:06:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 19:06:47 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=FH_FAKE_RCVD_LINE_B,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohaya@cox.net designates 68.230.241.214 as permitted sender) Received: from [68.230.241.214] (HELO eastrmfepo102.cox.net) (68.230.241.214) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jul 2012 19:06:41 +0000 Received: from eastrmimpo109.cox.net ([68.230.241.222]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120716190620.BGBJ26743.eastrmfepo102.cox.net@eastrmimpo109.cox.net>; Mon, 16 Jul 2012 15:06:20 -0400 Received: from eastrmwml114 ([172.18.18.217]) by eastrmimpo109.cox.net with bizsmtp id b76L1j00E4h0NJL0276Ljp; Mon, 16 Jul 2012 15:06:20 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.5004662C.00CA,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=/hsu2X5X6JGOntty5hT4wCGEvy2ulVbdjrbi30cBrZg= c=1 sm=1 a=Pz2bHT0dSx0A:10 a=G8Uczd0VNMoA:10 a=41zQ59nstoEA:10 a=IkcTkHD0fZMA:10 a=fpLU5C9/hMwkS3CbdiTCjA==:17 a=fXVoLUoyAAAA:8 a=kviXuzpPAAAA:8 a=rzUg1vpy1pa_53n1YcIA:9 a=QEXdDO2ut3YA:10 a=sipdLmF_KMAA:10 a=4vB-4DCPJfMA:10 a=giE6NUJMSDzzmFJU:21 a=YLLUkAmbB-4JKzmI:21 a=fpLU5C9/hMwkS3CbdiTCjA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from 199.46.199.232 by webmail.east.cox.net; Mon, 16 Jul 2012 15:06:20 -0400 Message-ID: <20120716150620.APOU2.605625.imail@eastrmwml114> Date: Mon, 16 Jul 2012 15:06:20 -0400 From: To: users@httpd.apache.org Cc: Nick Kew In-Reply-To: <20120716161749.20ebb046@baldur> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache taking (exactly) 30 seconds to serve static images ---- Nick Kew wrote: > On Mon, 16 Jul 2012 10:47:54 -0400 > wrote: > > > Has anyone encountered something like this. What timeouts might be set to 30 seconds in Apache that might be causing this kind of behavior? > > Check your keepalive. > > If your browser, or some agent on the network, is getting its knickers > in a twist about making lots of requests, it might be waiting for one > keepalive connection to close before opening another through which > it's scheduled to fetch those images. > > If you have any kind of rate-limiting or DoS-protection module in Apache, > that could also be delaying a connection if the client is trying to > open more than your server defences permit. > > -- > Nick Kew Hi Nick, This is a really strange one. The page is an HTML login page, with not much too it, and has some links for background images (maybe 4-5 of them). Not much to it. The images aren't huge either, max ~70KB. - Apache is 2.2.22, which we built, on Redhat 64bit. - The problem only happens if we enable SSL on Apache, either 1-way or 2-way SSL have same problem. - Sometimes the page comes up. Sometimes it comes up partially, and then sits there for awhile. Firefox Firebug is showing "aborted" (in red) for the image GETs in the latter case. - There are no firewalls or DOS-type software. I'm going directly from the browser (Firefox and IE) to Apache. Thus far what we've tried: - Changed SSLRandomKey to point to /dev/urandom ==> no change in problem - Tried adding to in ssl.conf: KeepAlive off KeepAliveTimeout 2 ==> no change in problem. - Apache error_log doesn't show anything weird/errors. - As I mentioned, the problem can happen with either Firefox or IE - Apache is built with MPM pre-fork, here's the "httpd -V": Server version: Apache/2.2.22 (Unix) Server built: Jun 20 2012 12:11:29 Server's Module Magic Number: 20051115:30 Server loaded: APR 1.4.5, APR-Util 1.4.1 Compiled using: APR 1.4.5, APR-Util 1.4.1 Architecture: 64-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/apps/oracle/apache" -D SUEXEC_BIN="/apps/oracle/apache/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" And, here's the weirdest part: I *think* that if I run Apache in single-process mode (-k start -X), the problem doesn't happen. I've tried a bunch of tests when Apache is in single-process mode, and haven't been able to get the problem yet. Assuming that I continue to not see the problem when in single-process mode, does that point to something as the problem? Thanks, Jim --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org