You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Indraveni chebolu <in...@gmail.com> on 2012/01/04 08:31:47 UTC

[users@httpd] Timeout Specified has expired

Hi,

I am using Apache 2.2.16-3 on Debian (2.6.21-1-486 kernel version).

I configured my apache server to serve Zope Requests, Tomcat Requests  and
apache document root files

something like the below:

*********************************************************************************************************************************************
<VirtualHost *:80>
        ServerName test.com
    ServerAlias www.test.com
        ServerAdmin webmaster@orgn.com
    ServerSignature Off
    SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1
    SetEnv proxy-initial-not-pooled 1
    DocumentRoot /var/www/

    <IfModule mod_rewrite.c>
    RewriteEngine On
   JKMount        /testapp* tomcat
    RewriteCond %{REQUEST_URI} !^/testapp  # this is application served
from tomcat server
    RewriteCond %{REQUEST_URI} !^/sample  # this is application served from
Apache DocumentRoot /var/www
    RewriteRule ^/(.*)$
http://localhost:8090/VirtualHostBase/http/test.com:80/test/VirtualHostRoot/$1[L,P]
# this is rewrite rule for plone site being the default site at
test.com

    <Location />
      Order deny,allow
          Deny from all
      Allow from all
    </Location>

    </IfModule>
         <IfModule mod_proxy.c>
               ProxyVia On

                   # prevent the webserver from beeing used as proxy
                   <LocationMatch "^[^/]">
                     Deny from all
                </LocationMatch>
         </IfModule>

# Removed log file lines and other unimportant lines

</VirtualHost>
*********************************************************************************************************************************************

With this configuration, the all my applications are working fine but with
one problem. The Zope website is becoming slower frequently and later
hanging the complete system after 2 to 3 days. When checking the apache log
files I see the following message repeatedly coming in.

[Wed Jan 04 01:59:26 2012] [error] [client 207.46.13.147] proxy: Error
reading from remote server returned by /blah/blah
[Wed Jan 04 01:59:51 2012] [error] [client 209.85.238.68] (70007)The
timeout specified has expired: proxy: error reading status line from remote
server localhost:8090
[Wed Jan 04 01:59:51 2012] [error] [client 209.85.238.68] proxy: Error
reading from remote server returned by /blah/blah
[Wed Jan 04 02:00:54 2012] [error] [client 65.52.104.90] (70007)The timeout
specified has expired: proxy: error reading status line from remote server
localhost:8090
[Wed Jan 04 02:00:55 2012] [error] [client 65.52.104.90] proxy: Error
reading from remote server returned by /blah/blah
[Wed Jan 04 02:00:57 2012] [error] [client 207.46.13.147] (70007)The
timeout specified has expired: proxy: error reading status line from remote
server localhost:8090
[Wed Jan 04 02:00:57 2012] [error] [client 207.46.13.147] proxy: Error
reading from remote server returned by /blah/blah
[Wed Jan 04 02:01:07 2012] [error] [client 180.149.62.52] (70007)The
timeout specified has expired: proxy: error reading status line from remote
server localhost:8090
[Wed Jan 04 02:01:07 2012] [error] [client 180.149.62.52] proxy: Error
reading from remote server returned by /
[Wed Jan 04 02:01:10 2012] [error] [client 65.52.108.26] (70007)The timeout
specified has expired: proxy: error reading status line from remote server
localhost:8090


On Restarting the system is only resolving the issue.

When checked in zope mailing list and apache mailing list, I see an option
os using

   SetEnv force-proxy-request-1.0 1
    SetEnv proxy-nokeepalive 1

I have used them in my config. even though I face this problem frequently.

Could someone help me in identifying the problem or cause of the problem
and way of resolution.

Thanks
Indraveni