"Ryan Bloom" <[EMAIL PROTECTED]> writes:

> I would prefer to make the number of CGI daemons variable personally.
> That way, if I know I have a lot of CGI requests, I can start 5 CGI
> daemons.  If I know I have almost no CGI requests, I can start 1.
> 
> That should also improve the performance over retrying the connection
> multiple times.

I suspect that multiple CGI daemons would be a good thing for
performance.  But as far as getting ECONNREFUSED goes, multiple
daemons just makes the amount of queued connections longer (backlog is
n * as big).  It doesn't eliminate the possibility of imbalance
between forks-per-second and new-cgi-requests-per-second.  It doesn't
avoid the need to retry either.

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to