I am having some problems running perl scripts via fcgid on Debian
Etch. Every time I attempt to run one that I have fully tested with
mod_cgi, it returns either Error 500 or Error 503. Relevant
information below.

Here are the relevant lines from my apache2 error log. Sorry for the
length, but all of these lines were generated for a single request.
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:21 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:22 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:23 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:23 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3388) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:25 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:26 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:27 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:27 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3389) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:29 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:30 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:31 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:31 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3390) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:33 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:34 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:35 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:35 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3392) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:37 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:38 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:39 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:39 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3394) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:42 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:43 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:43 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3396) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:45 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:46 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:47 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:47 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3397) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:49 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:50 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:51 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:51 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3398) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:53 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:54 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:55 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:55 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3399) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html

Apache fcgid![Sun Feb 08 13:27:57 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:58 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:59 2009] [notice] mod_fcgid: too much
/var/www/apache2-default/apache.fcgi process(current:1, max:1), skip
the spawn request
[Sun Feb 08 13:27:59 2009] [notice] mod_fcgid: process
/var/www/apache2-default/apache.fcgi(3401) exit(server exited),
terminated by calling exit(), return code: 0
Content-type: text/html


Here is my fcgid.conf:

<IfModule mod_fcgid.c>
 AddHandler fcgid-script .fcgi
 SocketPath /var/lib/apache2/fcgid/sock
 IPCConnectTimeout 20
 IPCCommTimeout 300
 IdleTimeout 600
 ProcessLifeTime 3600
 MaxProcessCount 8
 DefaultMinClassProcessCount 1
 DefaultMaxClassProcessCount 1
</IfModule>

I have also tested it with:

<IfModule mod_fcgid.c>
 AddHandler    fcgid-script .fcgi
 IPCConnectTimeout 20
</IfModule>

The only relevant line in my httpd.conf is:

AddHandler fcgid-script .fcgi


Anyone have any insight into what would cause fcgid to create so many
processes yet output nothing but errors?

Thanks.

--
Regards,
Josiah Purtlebaugh
http://www.codelove.org



-- 
Regards,
Josiah Purtlebaugh
http://www.codelove.org

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to