Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What does apachectl graceful do?

Answer Posted / hari

Gracefully 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.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is apache web server in linux?

1033


Is apache tomcat a web server or application server?

887


What is the use of apache server?

1037


What do you mean by a servername directive?

1032


What is the default port for http and https?

1021


How to disable trace http request?

1054


what is use of apache in web server?

993


What is an apache logs?

1038


How to manage apache logs?

1018


What is use of nonroot user in httpd.conf file on apache?

1037


Why apache tomcat is used?

1064


How to use strings with whitespaces in RewriteRule's ENV flag?

2181


What are the web servers you’ve worked on along with apache?

920


How do I change apache to mpm?

978


How to make sure apache pay attention to just one ip deal with on the server?

964