httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhijit Bhatnagar <abhina...@yahoo.com>
Subject Re: [users@httpd] Apache 2.0.46 problem
Date Tue, 06 Feb 2007 18:04:32 GMT
Hey joshua,

Thanks for the reply ... I cannot reduce the max number of clients since on my website each
image is served through a php file for security reasons hence increasing the number of requests...but
still if all the requests get stuck then there is no point in increasing the number of max
clients right ....

The other issue is that there is a lot of file I/O involved while serving the pages of my
website could that be reason for the apache crashing???

thanx,
Abhijit


----- Original Message ----
From: Joshua Slive <joshua@slive.ca>
To: users@httpd.apache.org
Sent: Tuesday, February 6, 2007 10:07:31 PM
Subject: Re: [users@httpd] Apache 2.0.46 problem


On 2/6/07, Abhijit Bhatnagar <abhinator@yahoo.com> wrote:
> I have Apache/2.0.46 (Red Hat) with server status module installed on my  server and
I
> also have a script running which checks every 5 mins whether the  apache server is
> responding to a http request ... The server status page after  every hour or so shows
99%
> of the requests with a "w" in front and at that time  my server stops responding ...
What
> could be the reason for this could anyone  shed some light on this ... Or direct me to
> some resources which could help me  figure it out

2.0.46 is very old and should be upgraded for security reasons if nothing else.

The fact that SS is very high on all these requests implies to me that
your php scripts are stuck someplace and unable to finish serving
requests.  Perhaps you have database contention or some other resource
that is not available.  You may also simply be out of memory, causing
apache to thrash (check "top").

If you can't figure out what is causing your php scripts to stick, you
can attach to them with a debugger to see where they are at:
http://httpd.apache.org/dev/debugging.html#backtrace

As a temporary measure, it may also help to reduce MaxClients
substantially, which should limit contention on whatever resource is
causing the problem.

Joshua.

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


 
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
Mime
View raw message