Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache 2.0.49 error

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  How can load without extension  
Author Message
petrawinkler2

External


Since: Jun 01, 2004
Posts: 3



(Msg. 1) Posted: Tue Jun 01, 2004 10:14 am
Post subject: Apache 2.0.49 error
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Apache 2.0.49 error 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Tue Jun 01, 2004 5:21 pm
Post subject: Re: Apache 2.0.49 error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Petra Winkler <petrawinkler2 DeleteThis @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.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache 2.0.49 error 
Back to top
Login to vote
petrawinkler2

External


Since: Jun 01, 2004
Posts: 3



(Msg. 3) Posted: Tue Jun 01, 2004 5:22 pm
Post subject: Re: Apache 2.0.49 error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/de/mod/mod_status.html" target="_blank">http://httpd.apache.org/docs-2.0/de/mod/mod_status.html</a>

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.DeleteThis@onlyforfun.net> wrote in message news:<2i3ho7Fimh36U2.DeleteThis@uni-berlin.de>...
 > Petra Winkler <petrawinkler2.DeleteThis@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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 2.0.49 error 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 4) Posted: Wed Jun 02, 2004 2:48 am
Post subject: Re: Apache 2.0.49 error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Petra Winkler" <petrawinkler2.RemoveThis@hotmail.com> schreef in bericht
news:d79f22d.0406011215.31c433a6@posting.google.com...
 > 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 <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#rlimitcpu" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#rlimitcpu</a> ?
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
<font color=purple> > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/de/mod/mod_status.html</font" target="_blank">http://httpd.apache.org/docs-2.0/de/mod/mod_status.html</font</a>>
 > 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
<a style='text-decoration: underline;' href="http://localhost:80/server-status" target="_blank">http://localhost:80/server-status</a> 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 Wink

Gruß

HansH<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 2.0.49 error 
Back to top
Login to vote
petrawinkler2

External


Since: Jun 01, 2004
Posts: 3



(Msg. 5) Posted: Wed Jun 02, 2004 2:48 am
Post subject: Re: Apache 2.0.49 error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"HansH" <hans DeleteThis @niet.op.het.net> wrote in message news:<c9itk3$1s0$1@news.cistron.nl>...
 > "Petra Winkler" <petrawinkler2 DeleteThis @hotmail.com> schreef in bericht
 > news:d79f22d.0406011215.31c433a6@posting.google.com...
  > > 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 <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#rlimitcpu" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#rlimitcpu</a> ?
 > 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
<font color=green>  > > <a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/de/mod/mod_status.html</font" target="_blank">http://httpd.apache.org/docs-2.0/de/mod/mod_status.html</font</a>>
  > > 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
 > <a style='text-decoration: underline;' href="http://localhost:80/server-status" target="_blank">http://localhost:80/server-status</a> 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 Wink
 >
 > Gruß
 >
 > HansH

petra<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 2.0.49 error 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache error - I am using Solaris8, Weblogic 7sp2 and IBM HTTPD server. Getting the following error [error] READ_TIMEOUT [os error=0, line 199 of ../nsapi/Reader.cpp]: Any help is appreciated. Thanks

Apache Error Documents - Hi, i tried to configure Apache's Error Documents... but it doesnt work... first my config... <IfModule mod_negotiation.c> <IfModule mod_include.c> Alias /error/ "C:/Programme/Apache Group/Apache2/error/" &lt;Director...

Apache/PHP/MySQL error - Hi there. I've had Apache running on my W2K box for a while and am also using PHP and MySQL. This is pretty common. Now - all of a sudden I keep getting errors from Apache whenever I try to access the Privileges in MySQL. This primarily happens using..

Apache error question - Can anybody explain the below error from my Apache error log? [Sun Jan 18 11:39:47 2004] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. Colyn Goodson http://home.swbell.net/colyng..

Apache startup error - This happened when I tried to make a minor change to the http.conf - change the IP address in NameVirtualHost and VirtualHost definitions.I cannot start apache and the only thing I am getting is: ssl_error_log: [error] Server should be SSL-aware but has...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]