httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51355] New: MaxProcesses doesn't work for the second FcgidCmdOptions statement
Date Fri, 10 Jun 2011 17:05:20 GMT

             Bug #: 51355
           Summary: MaxProcesses doesn't work for the second
                    FcgidCmdOptions statement
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_fcgid
    Classification: Unclassified


I've found a bug, and fixed it. If httpd.conf contains something like this:
<VirtualHost *:80>
    DocumentRoot "/var/html"

    AddHandler fcgid-script fcg fcgi fpl
    FcgidCmdOptions /var/www/script1.fcgi \
          MinProcesses 12 \
          IOTimeout 60

    FcgidCmdOptions "/var/www/script2.fcgi" \
    MaxProcesses 1
, i.e. there are 2 FcgidCmdOptions statements, MaxProcesses for script2.fcgi
doesn't work. Even if it's set to 1, mod_fcgid creates many instances of the
To fix this, in fcgid_spawn_ctl.c, please replace this string:
&& current_node->vhost_id == sconf->vhost_id
with this one:
&& current_node->vhost_id == command->vhost_id

Thank you.

Have a good day,
Sincerely Alex

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message