httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mohantysubhe...@gmail.com
Subject Re: [users@httpd] HTTPD 2.4.25 crash in mod_proxy (ajp)
Date Fri, 23 Dec 2016 08:07:05 GMT


Did you get any errors in access.logs 



Regards,

Subhendu Mohanty

phone-9604615166






On Fri, Dec 23, 2016 at 7:02 AM +0530, "Konstantin Kolinko" <knst.kolinko@gmail.com>
wrote:










2016-12-23 1:38 GMT+03:00 Rainer Jung :
> OK, looking closer at the suggested patch I see it fixes trace2-Loggging.
> When I activate e.g. trace8, I do get the expected crash in
> ap_proxy_check_connection.
>
> @Konstantin: do you have LogLevel trace2 or higher? If s, do you also see
> crashes with trace1 or lower?

I have "LogLevel warn". (That line is the same as in default httpd.conf file).

I cannot build the Windows binaries.

I reproduced this with a simple configuration:
I created a repository with binaries and configuration at GitHub:
https://github.com/kkolinko/test_20161222

Configuration:
- defaults
- change listen address and port number (127.0.0.1:9090)
- change listen address in Tomcat (127.0.0.1)
- enable mod_proxy, mod_proxy_ajp
- configure proxying for examples webapp.

Reproduction:
- Start servers
- Browse to http://127.0.0.1:9090/examples/
- Refresh the page (F5), If it matters, the browser is Firefox 50.1.0


Notes:
1.Running the reproducing recipe from
https://github.com/kkolinko/test_20161222 on Windows 10:

- There is no "send crash report to MS" dialog, but the crash line in
the log and response delay are the same.
- The exit code mentioned in the log is different:
AH00428: Parent: child process 4576 exited with status 3221225477 -- Restarting.
- I am closing server consoles with Ctrl+C. There is some oddity
following "Apache server interrupted..." line in error.log.
The text is mangled, as if two processes are trying to write to the
same log file.


Complete log files:
== access.log:

127.0.0.1 - - [23/Dec/2016:04:20:01 +0300] "GET /examples/ HTTP/1.1" 200 1285
127.0.0.1 - - [23/Dec/2016:04:20:08 +0300] "GET /examples/ HTTP/1.1" 304 -

== error.log

[Fri Dec 23 04:19:48.411938 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00455: Apache/2.4.25 (Win32) configured -- resuming normal
operations
[Fri Dec 23 04:19:48.413938 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00456: Apache Lounge VC14 Server built: Dec 17 2016 10:42:52
[Fri Dec 23 04:19:48.413938 2016] [core:notice] [pid 7036:tid 532]
AH00094: Command line: 'Apache24\\bin\\httpd.exe -d
D:/test_20161222/Apache24'
[Fri Dec 23 04:19:48.418938 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00418: Parent: Created child process 4576
[Fri Dec 23 04:19:50.969085 2016] [mpm_winnt:notice] [pid 4576:tid
540] AH00354: Child: Starting 64 worker threads.
[Fri Dec 23 04:20:06.617748 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00428: Parent: child process 4576 exited with status 3221225477
-- Restarting.
[Fri Dec 23 04:20:06.672751 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00455: Apache/2.4.25 (Win32) configured -- resuming normal
operations
[Fri Dec 23 04:20:06.672751 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00456: Apache Lounge VC14 Server built: Dec 17 2016 10:42:52
[Fri Dec 23 04:20:06.672751 2016] [core:notice] [pid 7036:tid 532]
AH00094: Command line: 'Apache24\\bin\\httpd.exe -d
D:/test_20161222/Apache24'
[Fri Dec 23 04:20:06.676751 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00418: Parent: Created child process 2136
Apache server interrupted...
016] [mpm_winnt:notice] [pid 2136:tid 4] AH00354: Child: Starting 64
worker threads.
[Fri Dec 23 04:20:16.267611 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00422: Parent: Received shutdown signal -- Shutting down the
server.
[Fri Dec 23 04:20:18.269834 2016] [mpm_winnt:notice] [pid 2136:tid 4]
AH00364: Child: All worker threads have exited.
[Fri Dec 23 04:20:18.306863 2016] [mpm_winnt:notice] [pid 7036:tid
532] AH00430: Parent: Child process 2136 exited successfully.



2. Running HTTPD on Windows 7 as a service, there is notable delay
when I stop the service.
Log says:

[Fri Dec 23 02:30:45.867800 2016] [mpm_winnt:notice] [pid 2484:tid
352] AH00422: Parent: Received shutdown signal -- Shutting down the
server.
[Fri Dec 23 02:31:15.882252 2016] [mpm_winnt:notice] [pid 2484:tid
352] AH00431: Parent: Forcing termination of child process 1848


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