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: [email protected]
        ReportedBy: [email protected]
    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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to