[PLUG] Shell command needs an explanation

Chris Jantzen chris at maybe.net
Sun Aug 8 16:16:02 UTC 2004


On Sun, Aug 08, 2004 at 04:10:24PM -0700, Rich Shepard wrote:
>   But, the apache Web site does. Apparently this is one of three signals
> that can be sent to the parent httpd process. USR1 means graceful restart:
> 
> "The USR1 signal causes the parent process to advise the children to exit
> after their current request (or to exit immediately if they're not serving
> anything). The parent re-reads its configuration files and re-opens its log
> files. As each child dies off the parent replaces it with a child from the
> new generation of the configuration, which begins serving new requests
> immediately."
> 
>   Sorta' like stem cell growth.
> 
>   The other two signals are TERM and HUP. The first halts the parent process
> and the second restarts the parent process _now_.
> 
>   Just need to ask google the proper way to find the answer.

BTW-This behavior of USR1 should not be assumed to be standard. USR1
is officially designated as a "User-defined signal" ('user' in this
case being the author of a userspace program). Just because Apache
interprets it this way, does not guarantee that thttpd will do the
same. (Though it probably does, given the context in which it is
issued.)

-- 
chris kb7rnl =->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20040808/ca61ef98/attachment.asc>


More information about the PLUG mailing list