httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52174] New: Allow hard lower-limits on the number of fcgi service processes
Date Sun, 13 Nov 2011 15:45:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52174

             Bug #: 52174
           Summary: Allow hard lower-limits on the number of fcgi service
                    processes
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_fcgid
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: danny-bugzilla@sadinoff.com
    Classification: Unclassified


I have FCGI processes that take a long time (~30 seconds) to start and
initialize.  

mod_fcgid's approach is to fork new ones on demand, but that often takes too
long in my scenario.

My goal is to ensure that there are at least N of them spun up and ready at any
time.   

The docs say that FcgidMinProcessesPerClass enforces a...

 "minimum number of processes that will be retained in a process class after
finishing requests"

My suggestion is to create a new config variable, say
"FcgidHardMinProcessesPerClass" which would be the minimum number of processes
that ought to exist for a class at all times, even before the first request
arrives.  If the number of servers dips below that amount, it would fork a new
one.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message