Hmmmm...

I wonder if it's due to:

         /* Step Two: Make the Connection */
-        if (ap_proxy_connect_backend(scheme, backend, worker, r->server)) {
+        if (ap_proxy_check_connection(scheme, backend, r->server, 0,
+                                      PROXY_CHECK_CONN_EMPTY)
+                && ap_proxy_connect_backend(scheme, backend, worker,
+                                            r->server)) {
             ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(00896)


> On Dec 22, 2016, at 8:45 AM, Konstantin Kolinko <knst.koli...@gmail.com> 
> wrote:
> 
> Hi!
> 
> My configuration:
> 
> (HTTPS) -> HTTPD -> mod_proxy_ajp -> Apache Tomcat
> 
> running on Windows 7, using 32-bit version of HTTPD built by Apache Lounge
> http://www.apachelounge.com/download/
> 
> Apache 2.4.25 Win32
> httpd-2.4.25-win32-VC14.zip                             20 Dec '16 13.873K
> 
> (Actually the binary itself logs that its build date is 17 Dec:
> AH00456: Apache Lounge VC14 Server built: Dec 17 2016 10:42:52
> 
> 
> After upgrade from 2.4.23 to 2.4.25 every request that is proxied to
> Tomcat results in crash and restart of server child process.
> 
> At the server side I see that Windows generates a crash report
> (displays an UI dialog prompting to send a report to MS) and a child
> process crash is mentioned in HTTPD error log.
> 
> From client's view the request is just processed slowly. It does
> receive correct response, just waiting several seconds longer than
> usual.
> 
> 
> Requests that are not proxied (e.g. requests for static files, DAV
> requests) are served correctly.
> 
> 
> Fragment of HTTP error log:
> 
> [Thu Dec 22 15:08:12.015452 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00455: Apache/2.4.25 (Win32) OpenSSL/1.0.2j SVN/1.8.17
> configured -- resuming normal operations
> [Thu Dec 22 15:08:12.015452 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00456: Apache Lounge VC14 Server built: Dec 17 2016 10:42:52
> [Thu Dec 22 15:08:12.015452 2016] [core:notice] [pid 5140:tid 364]
> AH00094: Command line: 'D:\\Programs\\Server\\Apache2\\bin\\httpd.exe
> -d D:/Programs/Server/Apache2'
> [Thu Dec 22 15:08:12.031052 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00418: Parent: Created child process 3424
> [Thu Dec 22 15:08:15.681459 2016] [mpm_winnt:notice] [pid 3424:tid
> 256] AH00354: Child: Starting 30 worker threads.
> [Thu Dec 22 15:08:36.445095 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00428: Parent: child process 3424 exited with status 255 --
> Restarting.
> [Thu Dec 22 15:08:37.615097 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00455: Apache/2.4.25 (Win32) OpenSSL/1.0.2j SVN/1.8.17
> configured -- resuming normal operations
> [Thu Dec 22 15:08:37.615097 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00456: Apache Lounge VC14 Server built: Dec 17 2016 10:42:52
> [Thu Dec 22 15:08:37.615097 2016] [core:notice] [pid 5140:tid 364]
> AH00094: Command line: 'D:\\Programs\\Server\\Apache2\\bin\\httpd.exe
> -d D:/Programs/Server/Apache2'
> [Thu Dec 22 15:08:37.615097 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00418: Parent: Created child process 2244
> [Thu Dec 22 15:08:41.390304 2016] [mpm_winnt:notice] [pid 2244:tid
> 256] AH00354: Child: Starting 30 worker threads.
> [Thu Dec 22 15:08:54.546343 2016] [mpm_winnt:notice] [pid 5140:tid
> 364] AH00428: Parent: child process 2244 exited with status 255 --
> Restarting.
> 
> Fragment of MS crash report summary
> Note: all *.Name entries were in a different language, I translated
> them into English below.
> 
> Sig[0].Name=Application name
> Sig[0].Value=httpd.exe
> Sig[1].Name=Application version
> Sig[1].Value=2.4.25.0
> Sig[2].Name=Application timestamp
> Sig[2].Value=585506f4
> Sig[3].Name=Failed module name
> Sig[3].Value=mod_proxy.so
> Sig[4].Name=Failed module version
> Sig[4].Value=2.4.25.0
> Sig[5].Name=Failed module timestamp
> Sig[5].Value=585508a2
> Sig[6].Name=Exception code
> Sig[6].Value=c0000005
> Sig[7].Name=Exception offset
> Sig[7].Value=00006567
> 
> 
> Proxy configuration looks like the following:
> 
> <IfModule mod_proxy.c>
>    ProxyRequests off
> 
>    <Location /foo>
>        ProxyPass ajp://127.0.0.1:8009/foo
>        # Auth and Require directives here...
>    </Location>
> 
>    <Location /bar>
>        ProxyPass ajp://127.0.0.1:8009/bar
>        # Auth and Require directives here...
>    </Location>
> </IfModule>
> 
> 
> Best regards,
> Konstantin Kolinko
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
> 


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

Reply via email to