[Zope-Coders] Signal forwarding

Matt Behrens matt@zigg.com
Thu, 10 Oct 2002 08:02:56 -0400


--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 10, 2002 at 07:47:06AM -0400, Guido van Rossum wrote:

> > I still think that the necessity to call in thru HTTP to perform a
> > common administrative function eludes most sysadmins.
>=20
> Sure.  So we should provide a tool.  Apache uses a socket rather than
> signals for all common admin functions.  This is all hidden in the
> apachectl tool.  We can do the same -- after all Zope is already
> listening on a socket; even if we don't want to use HTTP, adding
> another socket to the mix (e.g. a Unix domain one for security)
> shouldn't be any problem.

+1, caveat follows:

Clean shutdown must still be supported by way of SIGTERM et al.
Many UNIX-like systems is start shutting down by sending SIGTERM
to all of their processes.  Other functionality can be implemented
however it's deemed safe (sockets sound good to me), and the user
and script interface to that would be the control tool.

The control tool can send a SIGTERM for shutdown if it likes.

--=20
Matt Behrens <matt@zigg.com> <URL:http://zigg.com/>

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE9pWxv+xq4JbgNGlMRArxBAJ4rE18epPI4hcOngUza8hI0/2vlMgCdH79x
TzPyNOuiYIlzejtCHlNlo3Q=
=Wu5C
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--