|
Home > Archive > Apache Server configuration support > July 2006 > ping web server to check availability
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ping web server to check availability
|
|
| Rithish 2006-07-11, 1:36 pm |
| Hello folks.
We have a web app running on RHEL3 + Apache2 + MySQL4.1.11 + PHP5.0.2
Recently we have been experiencing serious httpd issues, where-in the
number of httpd processes go on queueing up on the server, upto a
point, when the server would accept requests no more. We are still in
the process of digging the root of this problem.
Whenever this issue occurs, more often than not, it is our customers
who point out the server problem. So to make ourselves aware of the
server-load before the users start calling up, I put up a php page on
another web-server2, which simply does a fopen() to a page on
web-server1. If the fopen() fails, I would assume that the web-server
is down, and the script will send an sms to me.
However, I found that even when the web-server is running on max-load
(httpd.conf has MaxClients as 150, and server-status page pulls up 150
requests being processed), the fopen() script on web-server2 does not
fail. Hence, no sms sent.
I would greatly appreciate someone assisting me with this script, or
any solution for that matter. I am a newbie, and if I have missed out
anything that is obvious, please pardon my ignorance.
Regards,
Rithish.
| |
| Newsgroup Poster 2006-07-12, 7:30 am |
| www.ipsentry.net
"Rithish" <rithish@gmail.com> wrote in message news:1152623921.516148.278840@35g2000cwc.googlegroups.com...
> Hello folks.
>
> We have a web app running on RHEL3 + Apache2 + MySQL4.1.11 + PHP5.0.2
> Recently we have been experiencing serious httpd issues, where-in the
> number of httpd processes go on queueing up on the server, upto a
> point, when the server would accept requests no more. We are still in
> the process of digging the root of this problem.
>
> Whenever this issue occurs, more often than not, it is our customers
> who point out the server problem. So to make ourselves aware of the
> server-load before the users start calling up, I put up a php page on
> another web-server2, which simply does a fopen() to a page on
> web-server1. If the fopen() fails, I would assume that the web-server
> is down, and the script will send an sms to me.
>
> However, I found that even when the web-server is running on max-load
> (httpd.conf has MaxClients as 150, and server-status page pulls up 150
> requests being processed), the fopen() script on web-server2 does not
> fail. Hence, no sms sent.
>
> I would greatly appreciate someone assisting me with this script, or
> any solution for that matter. I am a newbie, and if I have missed out
> anything that is obvious, please pardon my ignorance.
>
> Regards,
> Rithish.
>
|
|
|
|
|