On Sun, May 11, 2008 at 11:53 AM, pronet <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a problem with process spawning when running php enabled from 
> .htaccess:
> AddHandler fcgid-script .php
> #AddHandler fcgid-script .php5
> FCGIWrapper "/usr/local/cpanel/cgi-sys/php4fcgi" .php
> #FCGIWrapper "/usr/local/cpanel/cgi-sys/php5fcgi" .php5
> The problem is spawn control and probably lifetime/idle limits are not 
> working because in fcgid_spawn_ctl.c function int is_spawn_allowed(server_rec 
> * main_server, fcgid_command * command):
>        if (!current_node)
>          return 1;
> is true and it just spawns another process without checking any limits etc.
> Why would it do this? How to fix this?

My box just crashed and this seems to be related to the above.  A
google bot wandered into one of my drupal sites (written in PHP).  The
bot made more than a thousand requests which in turn created more than
a thousand cgi processes.  mod_fcgid just totally ignored the
DefaultMaxClassProcessCount which I didn't change, so it's default is

Hence, I would be very interested in a fix for this too.


Michael Grant

This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
Mod-fcgid-users mailing list

Reply via email to