On 03/15/2011 04:02 PM, John Lange wrote:
I have some code (written in PHP) that checks on the status of a single "server" but I need this code to scale up to hundreds of parallel checks.
I can't for the life of me figure out how this can be possible. Each apache thread should run it's PHP in a separate thread and return in parallel. The only thing I can think of is that php is tracking all the requests as being part of the same session and imposing some limit on the outbound curl requests... Or maybe it's apache blocking it?
If your apache is really threaded, try switching to the non-threaded prefork httpd.
Peter