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
100.

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

Thanks.

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. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to