You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andres Monroy-Hernandez <an...@exlibris-usa.com> on 2005/03/17 19:37:50 UTC

[users@httpd] mod_proxy slow response - Apache/2.0.52

Hi,

I compiled apache 2.0.52 binaries for Linux with mod_proxy (and others). 
These binaries have worked well so far in several Linux boxes. 
Nevertheless, I am experiences some response time issues with a specific 
machine. It takes more than 10 seconds for the reverse proxy to respond. 
The machine is a Red Hat AS 2.1 (2.4.9-e.3smp kernel).

 From the error_log you could see what I am describing:

[Thu Mar 17 18:11:56 2005] [debug] proxy_http.c(66): proxy: HTTP: 
canonicalising URL //localhost:3002/sfxadmin/sfx_local
[Thu Mar 17 18:11:56 2005] [debug] mod_proxy.c(416): Trying to run 
scheme_handler
[Thu Mar 17 18:11:56 2005] [debug] proxy_http.c(1049): proxy: HTTP: 
serving URL http://localhost:3002/sfxadmin/sfx_local
[Thu Mar 17 18:11:56 2005] [debug] proxy_http.c(185): proxy: HTTP 
connecting http://localhost:3002/sfxadmin/sfx_local to localhost:3002
[Thu Mar 17 18:12:06 2005] [debug] proxy_util.c(1138): proxy: HTTP: fam 
2 socket created to connect to localhost
[Thu Mar 17 18:12:06 2005] [debug] proxy_http.c(334): proxy: socket is 
connected
[Thu Mar 17 18:12:06 2005] [debug] proxy_http.c(368): proxy: connection 
complete to 127.0.0.1:3002 (localhost)
[Thu Mar 17 18:12:07 2005] [debug] proxy_http.c(884): proxy: start body send
[Thu Mar 17 18:12:07 2005] [debug] proxy_http.c(943): proxy: end body send

I check the server load, and it looks normal. Is there anything else I 
should check?

This is some more info about my server:
Server: Apache/2.0.52, Interface: mod_ssl/2.0.52, Library: OpenSSL/0.9.7e


Thanks in advance,

---
Andres Monroy-Hernandez
Ex Libris Inc.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Re: [users@httpd] mod_proxy slow response - Apache/2.0.52

Posted by Nick Maynard <ni...@alumni.doc.ic.ac.uk>.
> I compiled apache 2.0.52 binaries for Linux with mod_proxy (and others). 
> These binaries have worked well so far in several Linux boxes. 
> Nevertheless, I am experiences some response time issues with a specific 
> machine. It takes more than 10 seconds for the reverse proxy to respond. 
> The machine is a Red Hat AS 2.1 (2.4.9-e.3smp kernel).
Hello,

I'm using the same Apache2 version, from backports.org, and I'm getting
the same (very) slow response times. Here's my config:

<IfDefine SSL>

Listen 212.13.201.166:443

<VirtualHost 212.13.201.166:443>
        ServerName www.tastycake.net
        ServerAdmin cows
        DocumentRoot DOCROOT

        SSLProxyEngine on
        SSLProxyMachineCertificateFile CERTPATH
        SSLProxyVerify optional_no_ca

        SSLEngine on
        SSLCertificateFile CERTPATH
        SSLCertificateKeyFile KEYPATH
        
	RequestHeader set front-end-https on

        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

        ProxyPass / http://www.tastycake.net/

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

</VirtualHost>

</IfDefine>

It's a bit messy because I'm just try to hack around the config to make
it faster, but nothing I do seems to do the trick.

Perhaps this is a config issue, but I can't find any decent
documentation on using SSLProxy anywhere :(

I'd appreciate anyone who has SSLProxy working well pasting a sample
config in here - that could help.

For the meantime I'm going to switch back to pound on this host (almost
instantaneous), but I'd really prefer to use Apache - mostly because it
doesn't occasionally crash like Pound.

Thanks,

-- 

Nick Maynard
nick.maynard@alumni.doc.ic.ac.uk

"The world isn't fair, Calvin."
"I know Dad, but why isn't it ever unfair in my favour?"
-- Calvin and Dad, "Calvin and Hobbes"