[Zope-Coders] Signal forwarding

Guido van Rossum guido@python.org
Thu, 10 Oct 2002 07:47:06 -0400


> I still think that the necessity to call in thru HTTP to perform a
> common administrative function eludes most sysadmins.

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.

> > Signal numbers are a scarce resource. I think we should conserve
> > signals for operations that can not be performed through http
> > (such as restarting the server when medusa is wedged)
> 
> I am surprised at how few signals are available.  You're right.  But
> packing is definitely an administrative function, and I think it
> deserves some sort of first-class citizenship... maybe we'll work it
> out when we come up with an admin socket server. ;-)

I think it's rather perverted to think of signals as the way to
first-class citizenship... :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)