View Single Post

  #4 (permalink)  
Old 06-01-2004
HansH
 
Posts: n/a
Default Re: Apache 2.0.49 error

"Petra Winkler" <petrawinkler2@hotmail.com> schreef in bericht
news:d79f22d.0406011215.31c433a6@posting.google.co m...
> Hmmm, I searched the web myself and found out that these "children"
> are not the problem if they are closed or killed automatically after a
> timeout time. This is my problem, somtimes this doesnt happen and
> these "children" use CPU an MEM.

How about http://httpd.apache.org/docs-2.0/mod...html#rlimitcpu ?
Note: limiting CPUtime to 5 minutes, still may keep a child alive for manu
wallclock hours: time spend waiting for data-base response is not accounted.

> I tried to enable Apache2 with mod_status, but it is not working.
> I did all the things mentioned in
> http://httpd.apache.org/docs-2.0/de/mod/mod_status.html
> but it doesn´t work. When I run apachectl2 status I get a 404 error,
> also in Lynx.

Peeking around in the source, it seems apachectl tries to view
http://localhost:80/server-status via lynx. Installation may change the
portnumber before compiling; cann't find an option to change either port or
link at runtime. (/support/apachectl.in)
This is likely to fail if you do not listen to _all_ IP or changed the port
of your default host after first time install-and-compile.

> So what could be reason why server-status does not work.
> My httpd.conf says:
> Include /etc/apache2/mod_status.conf
> this file says:
> <Location /server-status>
> SetHandler server-status
> Order Deny,Allow
> Deny from all
> Allow from .foo.com
> </Location>

Access is only _allowed_from_ the domain .foo.com ... guess that's not your
domainname ;-)

Gruß

HansH