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

           Summary: unreliable coordination between daemon and request
                    thread for BusyTimeout processing
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_fcgid
        AssignedTo: [email protected]
        ReportedBy: [email protected]


See references to busy_timeout in fcgid_bridge.c (request thread) and
fcgid_pm_main.c (daemon) for the implementation of BusyTimeout processing.

Currently, the two threads need to agree on whether or not the app will be
timed out, or both may release the corresponding procnode structure.  A fudge
factor (10 seconds) is added to the BusyTimeout setting in the daemon when
checking for a timeout, presumably to reduce the likelihood that the timeout is
processed (i.e., the daemon releases the procnode structure) but the request
thread doesn't think so (i.e., the request thread also releases the procnode
structure).

Note that this implementation also requires the busy_timeout value to be
propagated from the main server conf to the virtual host conf in fcgid_conf.c. 
Hopefully that propagation can be removed when this is resolved.

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