https://issues.apache.org/bugzilla/show_bug.cgi?id=55878

            Bug ID: 55878
           Summary: mod_fcgid kills spawned processes to early
           Product: Apache httpd-2
           Version: 2.4.7
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_fcgid
          Assignee: [email protected]
          Reporter: [email protected]

MinProcesses does not work.
Here the configuration.

FcgidIdleScanInterval     1

<VirtualHost *:80>
    ...
    <Location /fcgi>
        AddHandler    fcgid-script .app
    </Location>
    ...
    FcgidWrapper    "...handler.fcgi" .app virtual
    FcgidCmdOptions "...handler.fcgi" \
    IdleTimeout    1    \
    MaxProcesses    10    \
    MinProcesses    4    \
    MaxRequestsPerProcess 1000
</VirtualHost>

The reason has to do with is_kill_allowed-Funktion, which does this:
if (current_node->process_counter <= current_node->min_class_process_count) ...

The Problem is that the function is_kill_allowed is called for each running
handler.fcgi-process from outside but current_node->process_counter is not
decreased outside(!).

Greetings, Andre'

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