SLUG Mailing List Archives
Re: [SLUG] killing all httpd processes, how ?
- To: lists@xxxxxxxxxx
- Subject: Re: [SLUG] killing all httpd processes, how ?
- From: Scott Ragen <scott@xxxxxxxxxxxxxxx>
- Date: Mon, 8 May 2006 13:09:27 +1000
- Cc: slug@xxxxxxxxxxx
slug-bounces@xxxxxxxxxxx wrote on 08/05/2006 08:00:04 AM:
> ocassionally, when trying to reload Apache 1.3 with:
> 'service httpd stop/start'
> some Apache processes do not terminate, and, I'm stuck where I can't
> restart it anymore, nor can I shut it down completely
> I then need to remember how to track and kill all releated processes,
> I panic and pull out the power cord.)
> as I am about to reload new config in Apache, and, I'm not sure if I
> recall correct 'what-if':
> if Apache fails to fully shutdown, do I:
I know I'm not answering your question, as it has already been answered by
another. but do you need to shutdown apache before a restart?
If all you are doing is reloading a new config, you should be able to run
'service apache reload'
This sends a HUP signal which tells apache to reread its configuration
file, this will ensure (providing there is no errors in the config) there
is no interruption to the service for anyone browsing your site.