Restart Apache gracefully without dropping connections
apache graceful restart | restart apache without downtime | reload apache without dropping connections | apache2ctl | restart | gracefulCaution: This command changes the system. Understand what it does before you run it.
apache2ctl gracefulTells the Apache parent process to reread its configuration and replace child processes only after they finish their current request. Visitors notice nothing, unlike with a hard restart. apache2ctl checks the syntax first and aborts on errors.
Note: After changes to loaded modules or the MPM, a graceful restart is not always enough. In that case systemctl restart apache2 is required.
Also searched as
- apache graceful restart
- restart apache without downtime
- reload apache without dropping connections