Apache+FastCGI Timeout Error: "has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds"

Posted by Sadjad Fouladi on Server Fault See other posts from Server Fault or by Sadjad Fouladi
Published on 2010-06-01T10:55:47Z Indexed on 2012/05/31 22:43 UTC
Read the original article Hit count: 205

Filed under:
|
|

I've recently installed mod_fastcgi and Apache 2.2. I have a simple cgi script as below (test.fcgi):

#!/bin/sh
echo sadjad

But when I invoke 'mysite.com/test.fcgi' I see "Internal Server Error" after a short period of time.

The error.log file shows this error message:

[Tue Jan 31 22:23:57 2006] [warn] FastCGI: (dynamic) server "~/public_html/oaduluth/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been backed off to 600 seconds

This is my .htaccess file:

AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ django.fcgi/$1 [QSA,L]

What could the problem be? Is it my .htaccess file?

© Server Fault or respective owner

Related posts about apache2

Related posts about .htaccess