httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] Apache/2.2.3 on windows not shutting down
Date Thu, 01 Feb 2007 05:44:43 GMT
Sam Carleton wrote:
> 
> httpd -k shutdown
> 
> This should be preferred over pressing Control-C because this lets
> Apache end any current operations and clean up gracefully.
> ------------------------
> 
> But it does not work.  Does anyone know why?  I know it is better to
> run it as a service, but that is not an option for my usage of apache.

As nobody uses httpd as an application except in brief testing, it has
relatively little testing and review.  You can always look at the test
framework available via svn from;

http://svn.apache.org/repos/asf/httpd/test/trunk/perl-framework/

for an example of how the framework invokes and shuts down httpd as an
application for the purposes of testing.

The ctrl+c signal *is* captured and handled, so there is no issue with using
that approach.  Of course, killing the process (TerminateProcess) has the side
effects described above.

Patches are welcome, of course.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message