I don't know off the top of my head, but the GBrowse mailing list is probably a better place to ask this question, as I know there are people on that list that run GBrowse under fastCGI:
Hi,
maybe this is not an option for you because it is a different module, but I am using mod_fastcgi sucessfully with the following configuration stanza in httpd.conf, I tried
all modules mod_perl (worked for me), mod_fastcgi (worked, feels faster that mod_perl) and mod_fcgid but had some problems making mod_fcgid work
at all on mac(ports). So here is the alternative:
LoadModule fastcgi_module modules/mod_fastcgi.so
[...]
<IfModule mod_fastcgi.c>
Alias /fgb2 "/opt/local/apache2/cgi-bin/gb2"
<Location /fgb2>
SetHandler fastcgi-script
Options ExecCGI
</Location>
# Note: you may need to increase -idle-timeout if file uploads are timing out and returning server
# errors.
FastCgiConfig -idle-timeout 600 -maxClassProcesses 40 -initial-env GBROWSE_CONF=/opt/local/apache2/conf/gbrowse2
</IfModule>
Google search for the error brought up this page, which suggests that mod_fcgid is timing out for some reason. The author writes: "We found this mostly happens if the script runs too long waiting for external IO (i.e. database or ldap)."
You may be able to increase the value of IPCCommTimeout in your Apache config to see if that helps.
Tnx, but its probably not a timeout issue since the process is terminated immediatelly (<1 second).