>Maybe you can consider to create a external app for each vhost, for PHP, use PHP suEXEC.
Not sure what you mean here. Each vhost has 3 external apps linked to mongrels.
>Your Inital request timeout is too low, keep it at 60 or the longest time that a request would take.
Agreed, but I thought this was the "time out trying to connect" - not sure what it does if it is the "time out during response" as we obviously have a lot of requests that take longer that 1sec and they don't get cut off. the problem we have if anything is that they weren't being cut off.
>LSWS queue the requests when running short on connections to external app. So, "WaitQ" is not 0.
Is this how the 20 connections could have run up to 83? I'm still not sure how this would help as the connections were never timing out (so raising this number, which I assume shouldn't go more than a few secs) would only slow down the inevitable.
What I'm really looking for I think is something more like PHPs set_time_limit variable which would kill a connection if it took too long (as far as I can tell these connections are just getting opened up and never closed, maybe wrong about that... we had 83 triggered by a script that only runs every 5 mins so they must have built up over time)