httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruediger Pluem <>
Subject Re: [PATCH 41743] Graceful restart with prefork mpm issue
Date Wed, 02 Feb 2011 07:43:31 GMT

On 02/02/2011 12:57 AM, Andrew Punch wrote:
> Hi,
> I have contributed a patch to the long-standing bug 41743. A summary of
> the issue is that if a keep-alive connection is active then the child
> process never exits in certain cases (see bug for full details).
> The expected behaviour, the behaviour of worker and the behaviour of 1.3
> is that a "Connection: close" is issued then the connection is closed.
> I have created a patch which simply returns die_now from the function
> ap_graceful_stop_signalled()
> Joe Orton commented:
>> The fix for this on the trunk was r645434, which replaced use of
>> ap_graceful_stop_signalled() with ap_mpm_query().
>> This does look insufficient to fix the bug for prefork, since the
> prefork
>> signal handler does not change mpm_state (prefork.c:sig_term).
> So my question is which of these alternatives do you prefer:
> 1. Move ahead with my current patch
> 2. I modify prefork.c so the signal handler changes mpm_state

Without looking into further details I guess we should follow the trunk
fix (r645434) mentioned by Joe in the Bugzilla comment and try to backport it.
Can you please try if this patch (
fixes your issue as well?



View raw message