Forum Moderators: phranque

Message Too Old, No Replies

apache2: accessing /server-status very slow

slow on both private and public interface (slower on 127.0.0.1)

         

electrolinux

12:00 am on Feb 13, 2005 (gmt 0)

10+ Year Member



Hello,

Here is the setup I'm using:
Apache 2 run on port 80, with these Listen directives:

Listen aa.bb.cc.d:80
Listen 127.0.0.1:80

Then some rewrite rules permit to proxy to some virtuals hosts running at other ports

RewriteCond %{SERVER_PORT} ^80$ [OR]
RewriteCond %{SERVER_PORT} ^$
RewriteCond %{SERVER_NAME} ^.*\virtual1\.tld [NC]
RewriteRule ^/(.*)$ http://%{SERVER_NAME}:1000/$1 [P]

...

So far so good. Apache 2 is my "frontend" server on port 80, and proxy some request on differents ports running differents process (apache1, lighttpd, all running under different users/groups)

Now the problem:

Accessing /server-status served by an apache 1 process take about 0.01 sec, either on ip 127.0.0.1 or on external interface (that's Ok)

Accessing /server-status served by the apache 2 process take about 12 sec. on ip 127.0.0.1, and 6 sec. on the external interface!

Apache (1 & 2) all have extended status on

The access times are the same when using a name or an ip address

Apache 2 is quite responsive for all other pages it serve directly
----

Thanks for reading so far ;-)

Any help appreciated, of course.