Steve Sabljak wrote:
Currently with apache 2.0.43 (64 bit, Solaris 8, worker mpm), under high load,
we're seeing lots of connection refused to the cgi daemon in the error log.
a couple of alternative ideas that might be simpler to implement:
a) multiple cgid daemons
each listens on different unix socket (logs/cgisock.1, logs/cgisock.2, etc.); cgid handler does round-robin when selecting which cgid daemon to send the request to
b) mod_cgi as a backup
load both modules into the server, with mod_cgid getting the first shot
if something fails in the handler (unable to connect to the daemon), let cgid DECLINE the request so that mod_cgi handles it
hey, I like that! b) especially, because it is so simple and makes us much more robust. I don't think it precludes a) either.
Greg
