You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hajo Locke <Ha...@gmx.de> on 2017/01/02 10:54:00 UTC

Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)

Hello list,

sorry guys. i think i have lost overview. Has this resulted in a public 
patch?

Thanks,
Hajo

Am 23.12.2016 um 13:18 schrieb Konstantin Kolinko:
> BCC: Steffen
>
> I did quick tests to verify whether shutdown issues are related to
> mod_proxy.  They are not related.
>
> 2016-12-23 15:01 GMT+03:00 Konstantin Kolinko <kn...@gmail.com>:
>> 2. Oddities at shutdown that I also mentioned are still there.
>>
>> I mean the following:
>> - On Windows 7 (running as service, complex configuration):
>> "AH00431: Parent: Forcing termination of child process" log message
>>
>> I do not see such message in old logs from 2.4.23.
>>
>> Maybe the process is still broken, although it did not crash?
> Quick test:
>
> 1) Start server service, Stop server service   (No HTTPS requests served)
>
> No issue.
>
> [Fri Dec 23 15:06:22.542629 2016] [mpm_winnt:notice] [pid 2636:tid
> 364] AH00422: Parent: Received shutdown signal -- Shutting down the
> server.
> [Fri Dec 23 15:06:24.570633 2016] [mpm_winnt:notice] [pid 3996:tid
> 256] AH00364: Child: All worker threads have exited.
> [Fri Dec 23 15:06:24.648633 2016] [mpm_winnt:notice] [pid 2636:tid
> 364] AH00430: Parent: Child process 3996 exited successfully.
>
> 2) Start server service, Request a static page (root page of the
> site), Stop server service.
>
> The child process does not stop, is terminated forcedly.
>
> [Fri Dec 23 15:07:02.353899 2016] [mpm_winnt:notice] [pid 3084:tid
> 364] AH00422: Parent: Received shutdown signal -- Shutting down the
> server.
> [Fri Dec 23 15:07:32.368352 2016] [mpm_winnt:notice] [pid 3084:tid
> 364] AH00431: Parent: Forcing termination of child process 5564
>
> So this issue is real, but it is not related to mod_proxy.
>
>
>> - On Windows 10 (running as console, simple configuration example - GitHub):
>>
>> Before I hit Ctrl+C the error.log file is as follows:
>> (I added additional line breaks to separate lines that are wrapped in e-mail.)
>> ...
>> After I hit Ctrl+C in HTTPD console window, it becomes:
>> (I added additional line breaks to separate lines that are wrapped in e-mail.)
>> ...
>>
>> The "Apache server interrupted..." line appears in the middle of the
>> file, overwriting some of existing text.
>>
> Quick test:
>
> 1) Start server service, Stop server service   (No HTTPS requests served)
>
> This issue is observed.
> ("Apache server interrupted..." line appears in the middle of the file).
>
> So this oddity is real, but it is not related to mod_proxy, not
> related to processing of HTTP requests.
>
> Maybe this is not a real issue, just an oddity.
>
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)

Posted by Hajo Locke <Ha...@gmx.de>.
Hello,

Am 02.01.2017 um 12:47 schrieb Yann Ylavic:
> On Mon, Jan 2, 2017 at 12:43 PM, Yann Ylavic <yl...@gmail.com> wrote:
>> On Mon, Jan 2, 2017 at 12:41 PM, Yann Ylavic <yl...@gmail.com> wrote:
>>> Hi Hajo,
>>>
>>> On Mon, Jan 2, 2017 at 11:54 AM, Hajo Locke <Ha...@gmx.de> wrote:
>>>> sorry guys. i think i have lost overview. Has this resulted in a public
>>>> patch?
>>> This patch: http://svn.apache.org/r1775775
>> Or here as plaintext:
>> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?r1=1775775&r2=1775774&pathrev=1775775&view=patch
> Also, it seems that new ApacheLounge binaries include this fix:
> http://www.apachelounge.com/viewtopic.php?p=34723

thank you all for your help. I think i got it now.
I included the patch in my build-process.
>
>>> Regards,
>>> Yann.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Thanks,
Hajo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)

Posted by Yann Ylavic <yl...@gmail.com>.
On Mon, Jan 2, 2017 at 12:43 PM, Yann Ylavic <yl...@gmail.com> wrote:
> On Mon, Jan 2, 2017 at 12:41 PM, Yann Ylavic <yl...@gmail.com> wrote:
>> Hi Hajo,
>>
>> On Mon, Jan 2, 2017 at 11:54 AM, Hajo Locke <Ha...@gmx.de> wrote:
>>>
>>> sorry guys. i think i have lost overview. Has this resulted in a public
>>> patch?
>>
>> This patch: http://svn.apache.org/r1775775
>
> Or here as plaintext:
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?r1=1775775&r2=1775774&pathrev=1775775&view=patch

Also, it seems that new ApacheLounge binaries include this fix:
http://www.apachelounge.com/viewtopic.php?p=34723

>
>>
>> Regards,
>> Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)

Posted by Yann Ylavic <yl...@gmail.com>.
On Mon, Jan 2, 2017 at 12:41 PM, Yann Ylavic <yl...@gmail.com> wrote:
> Hi Hajo,
>
> On Mon, Jan 2, 2017 at 11:54 AM, Hajo Locke <Ha...@gmx.de> wrote:
>>
>> sorry guys. i think i have lost overview. Has this resulted in a public
>> patch?
>
> This patch: http://svn.apache.org/r1775775

Or here as plaintext:
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?r1=1775775&r2=1775774&pathrev=1775775&view=patch

>
> Regards,
> Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)

Posted by Yann Ylavic <yl...@gmail.com>.
Hi Hajo,

On Mon, Jan 2, 2017 at 11:54 AM, Hajo Locke <Ha...@gmx.de> wrote:
>
> sorry guys. i think i have lost overview. Has this resulted in a public
> patch?

This patch: http://svn.apache.org/r1775775

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)

Posted by Rainer Jung <ra...@kippdata.de>.
Hi Hajo,

Am 02.01.2017 um 11:54 schrieb Hajo Locke:
> Hello list,
>
> sorry guys. i think i have lost overview. Has this resulted in a public
> patch?

The fix in trunk (2.5) is

http://svn.apache.org/viewvc?view=revision&revision=1775775

It is proposed for backport to 2.4 but has not yet been applied there.

ApacheLounge has provided fixed binaries for Windows including the 
suggested fix. See the discussion at

https://www.apachelounge.com/viewtopic.php?p=34723

Regards,

Rainer

> Thanks,
> Hajo
>
> Am 23.12.2016 um 13:18 schrieb Konstantin Kolinko:
>> BCC: Steffen
>>
>> I did quick tests to verify whether shutdown issues are related to
>> mod_proxy.  They are not related.
>>
>> 2016-12-23 15:01 GMT+03:00 Konstantin Kolinko <kn...@gmail.com>:
>>> 2. Oddities at shutdown that I also mentioned are still there.
>>>
>>> I mean the following:
>>> - On Windows 7 (running as service, complex configuration):
>>> "AH00431: Parent: Forcing termination of child process" log message
>>>
>>> I do not see such message in old logs from 2.4.23.
>>>
>>> Maybe the process is still broken, although it did not crash?
>> Quick test:
>>
>> 1) Start server service, Stop server service   (No HTTPS requests served)
>>
>> No issue.
>>
>> [Fri Dec 23 15:06:22.542629 2016] [mpm_winnt:notice] [pid 2636:tid
>> 364] AH00422: Parent: Received shutdown signal -- Shutting down the
>> server.
>> [Fri Dec 23 15:06:24.570633 2016] [mpm_winnt:notice] [pid 3996:tid
>> 256] AH00364: Child: All worker threads have exited.
>> [Fri Dec 23 15:06:24.648633 2016] [mpm_winnt:notice] [pid 2636:tid
>> 364] AH00430: Parent: Child process 3996 exited successfully.
>>
>> 2) Start server service, Request a static page (root page of the
>> site), Stop server service.
>>
>> The child process does not stop, is terminated forcedly.
>>
>> [Fri Dec 23 15:07:02.353899 2016] [mpm_winnt:notice] [pid 3084:tid
>> 364] AH00422: Parent: Received shutdown signal -- Shutting down the
>> server.
>> [Fri Dec 23 15:07:32.368352 2016] [mpm_winnt:notice] [pid 3084:tid
>> 364] AH00431: Parent: Forcing termination of child process 5564
>>
>> So this issue is real, but it is not related to mod_proxy.
>>
>>
>>> - On Windows 10 (running as console, simple configuration example -
>>> GitHub):
>>>
>>> Before I hit Ctrl+C the error.log file is as follows:
>>> (I added additional line breaks to separate lines that are wrapped in
>>> e-mail.)
>>> ...
>>> After I hit Ctrl+C in HTTPD console window, it becomes:
>>> (I added additional line breaks to separate lines that are wrapped in
>>> e-mail.)
>>> ...
>>>
>>> The "Apache server interrupted..." line appears in the middle of the
>>> file, overwriting some of existing text.
>>>
>> Quick test:
>>
>> 1) Start server service, Stop server service   (No HTTPS requests served)
>>
>> This issue is observed.
>> ("Apache server interrupted..." line appears in the middle of the file).
>>
>> So this oddity is real, but it is not related to mod_proxy, not
>> related to processing of HTTP requests.
>>
>> Maybe this is not a real issue, just an oddity.
>>
>>
>> Best regards,
>> Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org