What does apachectl graceful do?
Submitted by: AdministratorGracefully restarts the Apache httpd daemon. If the
daemon is not running, it is started. This differs from a
normal restart in that currently open connections are
not aborted. A side effect is that old log files will not
be closed immediately. This means that if used in a log
rotation script, a substantial delay may be necessary to
ensure that the old log files are closed before
processing them. This command automatically checks
the configuration files as in configtest before
initiating the restart to make sure Apache doesn?t die.
This is equivalent to apachectl -k graceful.
( excerpt from manual page of apachectl )
Actually it sends a SIGUSR1 for a restart. The USR1 or
graceful signal causes the parent process to advise the
children to exit after their current request (or to exit
immediately if they're not serving anything). The parent
re-reads its configuration files and re-opens its log files.
As each child dies off the parent replaces it with a child
from the new generation of the configuration, which begins
serving new requests immediately.
Submitted by: Administrator
daemon is not running, it is started. This differs from a
normal restart in that currently open connections are
not aborted. A side effect is that old log files will not
be closed immediately. This means that if used in a log
rotation script, a substantial delay may be necessary to
ensure that the old log files are closed before
processing them. This command automatically checks
the configuration files as in configtest before
initiating the restart to make sure Apache doesn?t die.
This is equivalent to apachectl -k graceful.
( excerpt from manual page of apachectl )
Actually it sends a SIGUSR1 for a restart. The USR1 or
graceful signal causes the parent process to advise the
children to exit after their current request (or to exit
immediately if they're not serving anything). The parent
re-reads its configuration files and re-opens its log files.
As each child dies off the parent replaces it with a child
from the new generation of the configuration, which begins
serving new requests immediately.
Submitted by: Administrator
Read Online Apache Job Interview Questions And Answers
Top Apache Questions
☺ | What is Apache? |
☺ | Does Apache act as a Proxy server? |
☺ | What is htpasswd? |
☺ | What is multiviews? |
☺ | How to check for the httpd.conf consistency and any |
Top Best Web Servers / Services Categories
☺ | IIS Interview Questions. |
☺ | Web Services Interview Questions. |
☺ | Web Hosting Interview Questions. |
☺ | Tomcat Server Interview Questions. |
☺ | Web Browser Interview Questions. |