Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 93532 invoked from network); 18 Jan 2007 18:37:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jan 2007 18:37:51 -0000 Received: (qmail 87941 invoked by uid 500); 18 Jan 2007 18:37:47 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 86972 invoked by uid 500); 18 Jan 2007 18:37:45 -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 86956 invoked by uid 99); 18 Jan 2007 18:37:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 10:37:45 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lucas.brasilino@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jan 2007 10:37:34 -0800 Received: by py-out-1112.google.com with SMTP id u77so115927pyb for ; Thu, 18 Jan 2007 10:37:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=sHZUU3093D+FjH+iXm8SSuFaK28w8Y+qnU20AZYV/MXes693ihkWaQBGyQupTUEOXrU4WsQaWxedfUp7qwGTFHBTlXFk15Z9BjdzQ6aZPCXO1hcc52hLhqsPwRMbm2EkpE9lyJ2+SlegYjdAyPrfV8uthTyYRcwqNrMTWEDaCuQ= Received: by 10.35.60.16 with SMTP id n16mr2027954pyk.1169145433464; Thu, 18 Jan 2007 10:37:13 -0800 (PST) Received: from ?200.142.53.197? ( [200.142.53.197]) by mx.google.com with ESMTP id v55sm888712pyh.2007.01.18.10.37.12; Thu, 18 Jan 2007 10:37:12 -0800 (PST) Message-ID: <45AFBE56.8080508@gmail.com> Date: Thu, 18 Jan 2007 16:37:10 -0200 From: Lucas Brasilino User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] mod_proxy_balancer: trying to set a request timeout Hi All: I'm doing some tests with Apache 2.2.4 + mod_proxy_balancer where I have already played with my 2 backend servers in the following fashion: both up, just one down, getting the down one up and everything is working just fine. But now I'm stucked in an issue: I've wrote a little code to accept HTTP requests but to *NOT* answer the request. So I'd like to, after a couple of seconds, mod_proxy_balancer assume it is down and continues it normal behaviour (fetching data from the other worker). But this 'response timeout' is taking too long, as we can see at logs: [Wed Jan 17 16:38:17 2007] [debug] proxy_util.c(2146): proxy: HTTP: connection complete to 127.0.0.1:9080 (localhost) [Wed Jan 17 16:43:17 2007] [error] [client 200.142.53.197] proxy: error reading status line from remote server localhost, referer: http://AA.BB.CC.DD/ So it is taking *5 minutes* to timeout, which cause browser to be 'waiting for response'. I've been reading 2.2 mod_proxy docs but I can't figure out how can I set this timeout, even if this is possible. Any help ? Here comes a config snippet: As I'm making tests, this configuration is done within server config context. ProxyRequests Off BalancerMember http://server:9080 loadfactor=1 BalancerMember http://localhost:9080 loadfactor=1 ProxySet lbmethod=byrequests ProxyPass /loadbalancer balancer://webcluster/ ProxyPassReverse /loadbalancer balancer://webcluster/ ProxyHTMLLogVerbose On LogLevel Debug Thanks a lot in advance Lucas Brasilino --------------------------------------------------------------------- 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