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 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 6, 2007 10:07:31 PM
Subject: Re: [EMAIL PROTECTED] Apache 2.0.46 problem


On 2/6/07, Abhijit Bhatnagar <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to