You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Ralph Corderoy <ra...@inputplus.demon.co.uk> on 2000/11/03 00:10:02 UTC
Re: documentation/6767: Affect of HUP on Child Processes Not Documented.
The following reply was made to PR documentation/6767; it has been noted by GNATS.
From: Ralph Corderoy <ra...@inputplus.demon.co.uk>
To: Tony Finch <fa...@apache.org>
Cc: apbugs@apache.org
Subject: Re: documentation/6767: Affect of HUP on Child Processes Not Documented.
Date: Thu, 02 Nov 2000 23:01:14 +0000
Hi Tony,
> I suggest you file a bug with RedHat.
Have done.
Ralph.
> From: bugzilla@redhat.com
> Subject: [Bug 20256] New - logrotate sends a HUP to all Apache httpds.
> To: ewt@redhat.com, ralph@inputplus.demon.co.uk, dlt@redhat.com
> Date: Thu, 2 Nov 2000 17:57:45 -0500
>
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=20256
>
> --- shadow/20256 Thu Nov 2 17:57:45 2000
> +++ shadow/20256.tmp.19668 Thu Nov 2 17:57:45 2000
> @@ -0,0 +1,48 @@
> +Bug#: 20256
> +Product: Red Hat Linux
> +Version: 6.1
> +Platform: i386
> +OS/Version: Linux
> +Status: NEW
> +Resolution:
> +Severity: normal
> +Priority: normal
> +Component: logrotate
> +AssignedTo: ewt@redhat.com
> +ReportedBy: ralph@inputplus.demon.co.uk
> +QAContact: dlt@redhat.com
> +URL:
> +Cc: ralph@inputplus.demon.co.uk
> +Summary: logrotate sends a HUP to all Apache httpds.
> +
> +Hi,
> +
> +Having entered into discussion with the Apache folks it turns out that they
> +clearly state that signals should only be sent to the parent process,
> +not all the child servers. logrotate sends a HUP to all httpds that
> +are running; this is wrong and gives undefined behaviour.
> +
> +From: Tony Finch <fa...@apache.org>
> +Subject: Re: documentation/6767: Affect of HUP on Child Processes Not
> +Documented.
> +To: apbugs@apache.org
> +Date: Thu, 2 Nov 2000 18:36:58 +0000
> +
> +Ralph Corderoy <ra...@inputplus.demon.co.uk> wrote:
> +>
> +>Thanks for the prompt reply.
> +>
> +>Perhaps a warning that the current behaviour is unsupported
> +>implementation detail would stop Linux distributors, like Red Hat, from
> +>using `killall -HUP httpd' in their logrotate configuration.
> +
> +We do: see http://www.apache.org/docs/stopping.html which says:
> +
> +:You will notice many httpd executables running on your system, but you
> +:should not send signals to any of them except the parent, whose pid is
> +:in the PidFile. That is to say you shouldn't ever need to send signals
> +:to any process except the parent.
> +
> +I suggest you file a bug with RedHat.
> +
> +Tony.