- Aug 28, 2005
-
-
Colm MacCarthaigh authored
Update transformations to reflect the graceful-stop XML documentation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263901 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Add a note on the possible pit-falls that lie ahead when running multiple instances of httpd at the same time. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263857 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
If it makes it in to 2.2, leave it. Otherwise bump it later. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263854 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 27, 2005
-
-
Colm MacCarthaigh authored
Update CHANGES to reflect that worker now supports graceful-stop, that Bill wrote some of the graceful-stop code I stole from Ken, and to get rid of exraneous `'`'s. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@241820 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Implement a graceful-stop for the worker MPM. We close our listeners, and then ask each child process to do the same. We then monitor until all children have exited. The change to ap_start_shutdown(void) to ap_start_shutdown(int) may look like an external API change, but the function is defined static, and used only in one place. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@241819 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
CGId keeps a copy of the listening sockets open, which interferes with a graceful shutdown/start. Close the listening sockets on cgid start. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@241815 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Re-add a simple, obvious, speed-up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@241814 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Remove as many ghastly scoreboard loops from the graceful-shutdown code, and replace with the new ap_relieve_child_processes() call. Add a sleep() call now, as we lost the timeout inherent in ap_wait_or_timeout(). 1 second seems a sane choice. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240466 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Add ap_relieve_child_processess(), a non-infanticidal copy of ap_reclaim_child_processes(). Allows us to waitpid() each process in the scoreboard and each "extra" process with a single call. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240465 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240426 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 26, 2005
-
-
Graham Leggett authored
longer removed. Added httxt2dbm to the sbin directory. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240349 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
update transformations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240306 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
Make the reference to the 1.3 FAQ a little more up-to-date; and add a FAQ on SELinux. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240301 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
PR: 36166 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240299 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Allow htcacheclean to deal in gigabytes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240297 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Move the "GracefulShutdownTimeout" directive into mpm_common, for re-use with other MPM's. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240296 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240281 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Update the transformations to reflect the new graceful-stop argument. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240275 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Silly me, I forgot to commit this; the definitions for the GRACEFUL_STOP signal. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240274 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Allow apachectl to support "graceful-stop" argument git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240273 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Documentation changes relevant to new graceful-stop command line argument for httpd and apachectl, and the the "GracefulShutdownTimeout" directive. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240271 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Implement a "graceful-stop" for the prefork MPM (might aswell do the hard one first). General approach is to send SIGUSR1 to all children (which will de-listen, and exit when finished), and to gather all children as they exit. We don't use a sleep(timeout) for the timeout implementation, because this would lead to a rut of defunct children until the timeout had expired. set_graceful_shutdown stolen from Ken Coar. See <3E84B1EC.3050007@Golux.Com> (28 Mar 2003). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240270 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Make the neccessary changes to mpm_common and main to support a graceful-stop command line argument. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240269 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Remove the note about WINCH on certain platforms. As of r239430, this is no longer the case and USR1 will be used on all platforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240258 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 25, 2005
-
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240101 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
for the same port, switch them so that the bind to [::] is attempted first. Submitted by: colm, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240096 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
(open_listeners): Simplify using the new macros; no functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240092 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
A very minor, but particularly annoying whitespace fix. It took me 15 minutes to try and parse what was going on :-) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240089 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Update the documentation for the ScriptSock directive to match the .PID extension. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240049 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Append the .PID to the ScriptSock filename. This change ensures that multiple running instances of httpd will not clobber each others script sockets. Because a different socket will be created for each instance, this change also unlinks the script-socket on exit, to prevent pollution. unlink() happens from within the parent process, since the change in userid's means the cgid process likely won't have the correct permissions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240044 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
nit: Consistently CamelCase "ScriptSock". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240043 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 24, 2005
-
-
Colm MacCarthaigh authored
Implement "de-listening" in the worker MPM. Fixes PR28167. Comments in CHANGES file also cover r239710-1. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239740 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Correct the function prototype/declaration git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239732 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Implement "de-listening" for graceful restarts with the prefork MPM. With this change; 1.) httpd -k graceful sends SIGUSR1 to the parent pid, which in turn sends SIGUSR1 to all of the active children, 2.) Active children each close their copy of listener fd's. This means that the listening sockets are freed for re-use. In the ordinary case, this makes no difference. However if for example admin changes "Listen 80" to "Listen 81" in the config, this rev makes port 80 immediately available (no waiting for the graceful children to die). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239711 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Provide a function for closing all of the listeners. * This is useful for properly implementing a graceful stop and restart where we want child processess to be able to carry on serving a request but "de-listen" from a port. So that another instance entirely can be started in our place, or to unbind from a "Listen" directive an admin has removed from the configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239710 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239692 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239686 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239685 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239684 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239681 13f79535-47bb-0310-9956-ffa450edef68
-