GracefulShutdownTimeout needs to be set, otherwise restart-graceful
will result in a regular restart. If set to zero, the server will wait indenitely until
all remaining requests have been fully served.
A graceful restart can fail if the original Apache instance is not able to clear all
necessary resources. In this case, the command will result in a graceful stop.
stop-graceful
Stops the Web server after a dened period of time congured with
GracefulShutdownTimeout in order to ensure that existing requests can be
nished.
GracefulShutdownTimeout needs to be set, otherwise stop-graceful
will result in a regular restart. If set to zero, the server will wait indenitely until
all remaining requests have been fully served.
configtest or extreme-configtest
Checks the syntax of the conguration les without affecting a running Web
server. Because this check is forced every time the server is started, reloaded, or
restarted, it is usually not necessary to run the test explicitly (if a conguration error
is found, the Web server is not started, reloaded, or restarted). The
extreme-configtest options start the Web server as user nobody and actu-
ally load the conguration, so more errors can be detected. Note that although the
conguration is loaded, it is not possible to test the SSL setup because the SSL
certicates cannot be read by nobody.
probe
Probes for the necessity of a reload (checks whether the conguration has changed)
and suggests the required arguments for the rcapache2 command.
server-status and full-server-status
Dumps a short or full status screen, respectively. Requires either lynx or w3m in-
stalled as well as the module mod_status enabled. In addition to that, status
must be added to APACHE_SERVER_FLAGS in the le /etc/sysconfig/
apache2.
378 Reference