Apache 2.0.49 error

This is a discussion on Apache 2.0.49 error within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello together! I have a very interesting problem on my webserver, a Suse Linux 9.1 with Apache 2.0....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-01-2004
Petra Winkler
 
Posts: n/a
Default Apache 2.0.49 error

Hello together!

I have a very interesting problem on my webserver, a Suse Linux 9.1
with Apache 2.0.49:
After running a few hours the memory usage of the httpd2-prefork slows
down the whole system, not only web-sites.
when I put a ps aux | grep apache I get:
root 3777 0.0 2.3 61620 11364 ? Ss 10:59 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 3854 0.0 2.5 61956 12136 ? S 10:59 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 4975 0.0 2.5 62288 12508 ? S 12:02 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5125 0.0 2.5 61964 12156 ? S 13:17 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5127 0.0 2.6 62356 12588 ? S 13:17 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5136 0.0 2.5 62108 12228 ? S 13:25 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5254 0.0 2.4 61884 12060 ? S 14:09 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5448 0.0 4.4 71264 21440 ? S 15:25 0:01
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5459 0.0 2.3 61752 11488 ? S 15:29 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5460 0.0 2.4 61860 12048 ? S 15:29 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 5461 0.0 2.4 61752 11632 ? S 15:29 0:00
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf

You see that there are very many processes, getting more. When I kill
all except for one the system is nearly idle, but web-sites don´t open
fully and open extremely slow.

Does anybody know what this could be???

thanks,
petra
  #2 (permalink)  
Old 06-01-2004
Davide Bianchi
 
Posts: n/a
Default Re: Apache 2.0.49 error

Petra Winkler <petrawinkler2@hotmail.com> wrote:
> when I put a ps aux | grep apache I get:

<snip>

> You see that there are very many processes


Those are not processes, they are children, they share memory and
other resources, even if they appears like different processes.

> Does anybody know what this could be???


Evidently you have a lot of connections or you are using some kind of
server-programmin (php? SSI?) that require a lot of resources, if you have
enabled server-status (and if you didn't, it's a good moment to do so),
try to check the status of the server.

Davide

--
| I have made mistakes but I have never made the mistake of claiming
| that I have never made one.
|
|
  #3 (permalink)  
Old 06-01-2004
Petra Winkler
 
Posts: n/a
Default Re: Apache 2.0.49 error

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.

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 rund apachectl2 status I get a 404 error,
also in Lnyx.

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>

is this enough or to I have to compile something ???

Thanx a lot



Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<2i3ho7Fimh36U2@uni-berlin.de>...
> Petra Winkler <petrawinkler2@hotmail.com> wrote:
> > when I put a ps aux | grep apache I get:

> <snip>
>
> > You see that there are very many processes

>
> Those are not processes, they are children, they share memory and
> other resources, even if they appears like different processes.
>
> > Does anybody know what this could be???

>
> Evidently you have a lot of connections or you are using some kind of
> server-programmin (php? SSI?) that require a lot of resources, if you have
> enabled server-status (and if you didn't, it's a good moment to do so),
> try to check the status of the server.
>
> Davide

  #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


  #5 (permalink)  
Old 06-02-2004
Petra Winkler
 
Posts: n/a
Default Re: Apache 2.0.49 error

"HansH" <hans@niet.op.het.net> wrote in message news:<c9itk3$1s0$1@news.cistron.nl>...
> "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.


Have included this in server-tuning.conf, hope it works!

>
> > 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.
>


in listen.conf activated port is 80

> > 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

^ ^
| |
Sorry, my fault, copied it here from the apache-website, my
mod_status.conf says localhost

So any idea why I get the 404 error ???

> > </Location>

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


petra
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0