| |||||||||||
| |||||||||||
Stopping and restarting Apache httpd cleanly
If you'r running an Apache httpd server and you need to restart it, then you may be used to running:
apachectl stop apachectl start and in close succession, those should cause only a minor blip in service of perhaps a second or two; the sort of thing that can be put down to a "sticky internet". But you can do better apachectl restart Runs a configuration test before it stops the old daemon so that if you've editied your configuration file and introduced a fatal error, it won't go ahead with the stop. It also means that the restart is at electronic speed after the stop, curtting the blip. But you can do better apachectl graceful Runs the configuration test, AND allows currently open connections to be concluded before rebooting - thus ensuring that no-one gets a partial page as you cycle your httpd. Note - if you have allowed per-directory changes to the configuration via .htaccess files, then you don't need to restart the server in any way when they're changed - they are checked at every web site "hit". (written 2006-03-29 05:18:48) Associated topics are indexed under A602 - Web Application Deployment - Apache httpd - Sourcing, Installation, Testing
Some other Articles
Ruby course - oops - it's not happeningPython to MySQL An unhelpful error message from Apache httpd Dressed up for a phone call Stopping and restarting Apache httpd cleanly Web Application Components Keeping the visitors happy and browsing The ternary operator in Python Think about your design even if you don't use full UML Can some food be TOO different? 1636 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per pageThis is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price. Link to Ezine home page (for reading). Link to Blogging home page (to add comments). |
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho | |||||||||||