httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)
Date Fri, 23 Dec 2016 12:01:54 GMT
BCC: Steffen

2016-12-23 14:14 GMT+03:00 Rainer Jung <rainer.jung@kippdata.de>:
> Am 23.12.2016 um 00:43 schrieb Yann Ylavic:
>>
>> On Fri, Dec 23, 2016 at 12:11 AM, Rainer Jung <rainer.jung@kippdata.de>
>> wrote:
>>>
>>> Am 22.12.2016 um 23:56 schrieb Yann Ylavic:
>>>>
>>>>
>>>> I was thinking about always using the new code, maybe with an "if
>>>> APLOGtrace2(s)" around to save a getsockname() call when not needed.
>>>
>>>
>>> I see, thanks.
>>
>>
>> Committed in r1775775, and proposed for backport to 2.4.x.
>
>
> Steffen from ApacheLounge recompiled mod_proxy.so for 2.4 including that
> fix. I handed over the new mod_proxy.so for Windows to Konstantin and
> hopefully he can do a quick retest.
>

Thank you!

1. Good news:

I tried with this mod_proxy.so  and request processing issue is fixed.

No reports of a child process crash (at server side), and no delays in
request processing (from client's point of view).

I tested both simple configuration (Windows 10) that I published on
GitHub and original server configuration (Windows 7).


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?


- 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.)
[[[
[Fri Dec 23 14:53:15.097194 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00455: Apache/2.4.25 (Win32) configured -- resuming normal
operations

[Fri Dec 23 14:53:15.099195 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00456: Apache Lounge VC14 Server built: Dec 17 2016 10:42:52

[Fri Dec 23 14:53:15.099195 2016] [core:notice] [pid 2564:tid 496]
AH00094: Command line: 'Apache24\\bin\\httpd.exe -d
D:/test_20161222/Apache24'

[Fri Dec 23 14:53:15.103194 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00418: Parent: Created child process 4356

[Fri Dec 23 14:53:17.337322 2016] [mpm_winnt:notice] [pid 4356:tid
560] AH00354: Child: Starting 64 worker threads.
]]]

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.)
[[[
[Fri Dec 23 14:53:15.097194 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00455: Apache/2.4.25 (Win32) configured -- resuming normal
operations

[Fri Dec 23 14:53:15.099195 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00456: Apache Lounge VC14 Server built: Dec 17 2016 10:42:52

[Fri Dec 23 14:53:15.099195 2016] [core:notice] [pid 2564:tid 496]
AH00094: Command line: 'Apache24\\bin\\httpd.exe -d
D:/test_20161222/Apache24'

[Fri Dec 23 14:53:15.103194 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00418: Parent: Created child process 4356

Apache server interrupted...

016] [mpm_winnt:notice] [pid 4356:tid 560] AH00354: Child: Starting 64
worker threads.

[Fri Dec 23 14:55:05.467693 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00422: Parent: Received shutdown signal -- Shutting down the
server.

[Fri Dec 23 14:55:07.515308 2016] [mpm_winnt:notice] [pid 4356:tid
560] AH00364: Child: All worker threads have exited.

[Fri Dec 23 14:55:07.612380 2016] [mpm_winnt:notice] [pid 2564:tid
496] AH00430: Parent: Child process 4356 exited successfully.
]]]

The "Apache server interrupted..." line appears in the middle of the
file, overwriting some of existing text.

Usually I do not run HTTPD in console mode (httpd.exe -w), so I do not
know whether this logging oddity is a new issue.

Best regards,
Konstantin Kolinko

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


Mime
View raw message