httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zengwm <800...@gmail.com>
Subject Re: [users@httpd] How to stop httpd in single process mode on Linux
Date Tue, 06 May 2008 01:23:28 GMT
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@slive.ca>:
> On Mon, May 5, 2008 at 1:56 AM, zengwm <800360@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@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