httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48369] New: add option to automatically restart if a script is modified
Date Thu, 10 Dec 2009 22:11:27 GMT

           Summary: add option to automatically restart if a script is
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_fcgid

The original mod_fastcgi, on which mod_fcgid is based (if I understand my
history correctly), has an option (named autoUpdate, which is a flag to to the
FastCgiConfig) which causes it to check the mtime of a script each time that
script is requested, and restart the process handling that script if the script
has been modified since the handler process was started.  mod_fcgid does not
have such capability, but it would be very useful in a shared hosting
environment for development, as our users do not have access to the server to
kill processes.

Various workarounds are possible but not desirable because:
-setting DefaultMinClassProcessCount to 0 and letting the script idle timeout
leads to lots of sitting and waiting
-setting very low MaxRequestsPerProcess, IdleTimeout, or ProcessLifetime
results in inefficient, needless stopping and starting

If such functionality is not in the works I __might__ be able to write a patch
to do this, if there is a chance it would be accepted.

Thank you.

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