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 48369] New: add option to automatically restart if a script is modified
Date Thu, 10 Dec 2009 22:11:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48369

           Summary: add option to automatically restart if a script is
                    modified
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_fcgid
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: nlshep@gmail.com


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