
800360 at gmail
May 5, 2008, 6:23 PM
Post #3 of 3
(79 views)
Permalink
|
|
Re: How to stop httpd in single process mode on Linux
[In reply to]
|
|
Yes, on Windows CTRL+C will stop it, but on Linux it would not. Because the implementations of the process models are different. 2008/5/5, Joshua Slive <joshua[at]slive.ca>: > On Mon, May 5, 2008 at 1:56 AM, zengwm <800360[at]gmail.com> wrote: > > Hi, > > > > On Fedora 8, I start apache in single process mode using this command: > > httpd -X > > And it won't stop! > > > > Sending it SIGKILL will kill the process. But it does not respond to > > SIGTERM or SIGINT. > > > > Is there a way to shut it down but not to kill it? > > > > I start httpd in this way because I'm debugging it, I don't want to > > use the control scripts. > > I haven't tried this lately, but since apache doesn't detach in -X > mode, ctrl-c from the terminal will probably do it. > > Joshua. > > --------------------------------------------------------------------- > 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[at]httpd.apache.org > " from the digest: users-digest-unsubscribe[at]httpd.apache.org > For additional commands, e-mail: users-help[at]httpd.apache.org > > -- 致 礼 曾伟明
|