fsockopen timeout ignored?
Status: Beta
Brought to you by:
arosenfeld
I have the following situation:
I am monitoring some servers on port 80 (HTTPValidationMonitor) not only for uptime but also for performance. So I set the timeout to 5 secs.
If the server is not responding and I re-query the monitor, the phpWatch script hangs until the script timeout is reached, it is not terminated after 5 secs.
So the script is pretty useless, as I do not get a notification if the server is not reachable.