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 D70CD11D3F for ; Tue, 3 Jun 2014 12:06:41 +0000 (UTC) Received: (qmail 35743 invoked by uid 500); 3 Jun 2014 12:06:39 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 35706 invoked by uid 500); 3 Jun 2014 12:06:39 -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 35696 invoked by uid 99); 3 Jun 2014 12:06:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 12:06:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anjopaster@gmail.com designates 209.85.219.67 as permitted sender) Received: from [209.85.219.67] (HELO mail-oa0-f67.google.com) (209.85.219.67) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 12:06:34 +0000 Received: by mail-oa0-f67.google.com with SMTP id m1so1790666oag.6 for ; Tue, 03 Jun 2014 05:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=mzG05VmBDDprvpH0gu4yQvrKBo9ORNx3JQ/0iUZWQpM=; b=WFl8c1fONPBaq1PyVfy+wBDivHBdr5tLdZbYYhPr8cBn12OXaVcAxtKdk1PK21mV+B rNn98Pzw338ObYCsuAwVzVKIrBrtJ6mC1kj+J1yu06gKjBp9CNVzA6+mgimc13MyKEj5 4pMYVGc0Qnxa/iXX8+ELed0MqlseD4HUFcu2lxqlmSVkwNj8/Dklyp1fKeiXAjfjhiDg uBmoWYSoxRUChkWyyRW1EM9tz8q8zkLyCfwyQd9kY51yTz7y+ZyOLJktqCLc1R14+nU+ KeUxYSute7zBmj6zyXS32j8HPJQ6R9OpQzRujA1ZzB6a9+hPwECWGXaY1scLhjFZohSh CaRg== MIME-Version: 1.0 X-Received: by 10.182.74.234 with SMTP id x10mr45387699obv.1.1401797170816; Tue, 03 Jun 2014 05:06:10 -0700 (PDT) Received: by 10.76.79.10 with HTTP; Tue, 3 Jun 2014 05:06:10 -0700 (PDT) Date: Tue, 3 Jun 2014 17:36:10 +0530 Message-ID: From: Anjo Paster To: users@httpd.apache.org Content-Type: multipart/alternative; boundary=001a11c1ede669ebb304faed5647 X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users] apache connection time out and reconnects after the remote remote ip has changed --001a11c1ede669ebb304faed5647 Content-Type: text/plain; charset=UTF-8 I installed Apache/2.2.22 Ubuntu 12.04. Apache is set as reverse proxy server. So when accessed from a remote system, the page and contents are displayed. But after some time the server seems to refuse any further requests. The remote browser console gives "*net::ERR_CONNECTION_TIMED_OUT*" error. But when the ip of the remote machine changes (using a dongle which changes ip after every connect/disconnect), the page/contents displays again. But the above said issues occur again. Their is tomcat7 running along with apache. Tomcat is serving the jsf page through port 8080. All the other requests are handled by apache, proxy it to a virtual machine. In *apache2.conf* file i mainly changed these directives Timeout 1800 KeepAlive On MaxKeepAliveRequests 0 KeepAliveTimeout 5 Include proxy.conf In *proxy.conf * ErrorLog ${APACHE_LOG_DIR}/cartodb_error.log LogLevel debug BalancerMember http://cartodb.user:3002 connectiontimeout=1 retry=10 keepalive=on status=I ProxyPass / balancer://mycluster/ ProxyPassReverse / balancer://mycluster/ maxattempts=10000000 ErrorLog ${APACHE_LOG_DIR}/windshaft_error.log LogLevel debug BalancerMember http://cartodb.user:8182 connectiontimeout=1 retry=10 keepalive=on status=I ProxyPass / balancer://mycluster/ ProxyPassReverse / balancer://mycluster/ maxattempts=10000000 also similar VirtualHost directives with port 8082, 8889 with similar settings. The "cartodb.user" has been aded in the /etc/hosts file to redirect it to virtual box. Also the firewall has been disabled for the virtualbox. vVirtual box is also having Ubuntu 12.04. In *ports.conf* NameVirtualHost *:80 NameVirtualHost *:8889 NameVirtualHost *:8082 NameVirtualHost *:8182 NameVirtualHost *:3000 Listen 80 Listen 8889 Listen 8082 Listen 8182 Listen 3000 The *enabled modules* are actions.conf,actions.load,alias.conf,alias.load,authz_host.load, cache.load,cgid.conf,cgid.load,proxy_ajp.load,proxy_balancer.conf, proxy_balancer.load,proxy.conf,proxy_connect.load,proxy_ftp.conf,proxy_ftp.load, proxy_html.conf,proxy_html.load,proxy_http.load,proxy.load, proxy_scgi.load,rewrite.load Checked the apache log files didn't give any error when loglevel is put in debug. Please point what i have to do to create a continuous access. --001a11c1ede669ebb304faed5647 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I installed Apache/2.2.22 Ubuntu 12.04. Apache is set as reverse proxy s= erver.
So when accessed from a remote system, the page and conten= ts are
displayed. But after some time the server seems to refuse any further=
requests. The remote browser console gives "net::ERR_CON= NECTION_TIMED_OUT"
error.=C2=A0 But when the ip of the re= mote machine changes (using a dongle which changes ip after
every connect/disconnect), the page/contents displays again.
But the above said issues occur again.

Their is tomcat7 running along with apache. Tomcat is serving the= jsf page through port 8080. All the other requests are handled by apache, = proxy it to
a virtual machine.

In apache2.conf file i mainly changed thes= e directives
=C2=A0
=C2=A0=C2=A0=C2=A0 Timeout 1800
=C2=A0=C2=A0= =C2=A0 KeepAlive On
=C2=A0=C2=A0=C2=A0 MaxKeepAliveRequests 0
=C2=A0=C2=A0=C2=A0 KeepAliveTimeout 5
=C2=A0=C2=A0=C2=A0 Include proxy.c= onf

In proxy.conf

=C2= =A0=C2=A0=C2=A0
<VirtualHost *:3000>
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ErrorLog ${APACHE_LOG_DIR}/cartodb_error.log
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LogLevel debug
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Proxy balancer://mycluster&g= t;
=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Balance= rMember http://carto= db.user:3002 connectiontimeout=3D1 retry=3D10 keepalive=3Don status=3DI=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </Proxy>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ProxyPass / balancer://mycluster= /
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ProxyPassReverse / balancer://my= cluster/ maxattempts=3D10000000
=C2=A0=C2=A0=C2=A0 </VirtualHost><= b>

=C2=A0=C2=A0=C2=A0 <VirtualHost *:8182>
=C2=A0=C2=A0=C2=A0 ErrorLog ${APACHE_LOG_DI= R}/windshaft_error.log
=C2=A0=C2=A0=C2=A0 LogLevel debug
=C2=A0=C2=A0=C2=A0 <Proxy balancer:= //mycluster>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 BalancerMembe= r http://cartodb.use= r:8182 connectiontimeout=3D1 retry=3D10 keepalive=3Don status=3DI
=C2=A0=C2=A0=C2=A0 </Proxy>
=C2=A0=C2=A0=C2=A0 ProxyPass / balancer://mycluster/
=C2=A0=C2=A0=C2=A0= ProxyPassReverse / balancer://mycluster/ maxattempts=3D10000000
</Vi= rtualHost>

also simil= ar VirtualHost directives with port 8082, 8889 with similar settings.
The "cartodb.user" has been = aded in the /etc/hosts file to redirect it to virtual box.
Also the firewall has been disabled for the virtual= box. vVirtual box is also having
Ubuntu 12.04.

In ports.conf
=C2=A0=C2=A0=C2=A0 NameVirtualHost *:80
=C2=A0=C2=A0=C2=A0 Nam= eVirtualHost *:8889
=C2=A0=C2=A0=C2=A0 NameVirtualHost *:8082
=C2=A0=C2=A0=C2=A0 NameVirtualHost *:8182
=C2=A0=C2=A0=C2=A0 NameVirtual= Host *:3000
=C2=A0=C2=A0=C2=A0 Listen 80
=C2=A0=C2=A0=C2=A0 Listen 88= 89
=C2=A0=C2=A0=C2=A0 Listen 8082
=C2=A0=C2=A0=C2=A0 Listen 8182
= =C2=A0=C2=A0=C2=A0 Listen 3000

The e= nabled modules are
=C2=A0
=C2=A0=C2=A0=C2=A0 actions.conf,actions.load,alias.conf,alias.load,authz_ho= st.load,
=C2=A0=C2=A0=C2=A0 cache.load,cgid.conf,cgid.load,proxy_ajp.loa= d,proxy_balancer.conf,
=C2=A0=C2=A0=C2=A0 proxy_balancer.load,proxy.conf= ,proxy_connect.load,proxy_ftp.conf,proxy_ftp.load,
=C2=A0=C2=A0=C2=A0 proxy_html.conf,proxy_html.load,proxy_http.load,proxy.lo= ad,
=C2=A0=C2=A0=C2=A0 proxy_scgi.load,rewrite.load


Checked the apache log files didn't give any error when loglevel is p= ut in debug.
Please point what i have to do to create a continuous access.
--001a11c1ede669ebb304faed5647--