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
Alias /fgb2 "/opt/local/apache2/cgi-bin/gb2"
# Note: you may need to increase -idle-timeout if file uploads are timing out and returning server
FastCgiConfig -idle-timeout 600 -maxClassProcesses 40 -initial-env GBROWSE_CONF=/opt/local/apache2/conf/gbrowse2
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).