> > IMHO, this is too complex.  I would suggest viewing it this way:
> >
> >                             PARENT                  CHILD
> >
> > shutdown
> >     gracefull               SIGHUP                  SIGWINCH
> >     ungracefull             SIGKILL                 SIGTERM
> >     (may want to add another to ungracefully shutdown, so that we
> >     cleanup correctly.)
> >
> > restart
> >     gracefull               SIGWINCH
> >     ungracefull             SIGTERM
>
> I agree with you on the fact that the child can only be shutdown.
> The parent should only be concerned handling the restarts.
>
> Isn't SIGHUP a graceful restart?  SIGTERM should be a graceful shutdown.
> Don't know what a SIGWINCH should do as I've never used it.
>
> Just checking...  -- justin

On Apache 1.3

SIGHUP was a graceless restart
SIGUSR1 was a gracefull restart
SIGTERM was a graceless shutdown
SIGKILL was essentiall a graceless shutdown.

Apache 2.0 should have the same signals do the same thing, but SIGUSR1
doesn't play well with threads on some older versions of Linux, so
SIGWINCH is replacing SIGUSR1.

Ryan

_______________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------

Reply via email to