httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38227] New: - AJP proxy not thread-safe?
Date Wed, 11 Jan 2006 19:44:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38227>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38227

           Summary: AJP proxy not thread-safe?
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: brad_boyer@symantec.com


I had to change from using worker MPM to prefork to avoid connection loss with
the AJP proxy code. I'm using httpd 2.2.0 and tomcat 5.5.12. I get these errors
in the apache httpd error log:

[Wed Jan 11 11:20:33 2006] [error] (70007)The timeout specified has expired:
ajp_ilink_receive() can't receive header
[Wed Jan 11 11:20:33 2006] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Jan 11 11:20:33 2006] [error] (120006)APR does not understand this error
code: proxy: read response failed from (null) (127.0.0.1)

These 3 lines repeat numerous times, and it does not seem to reconnect to tomcat
until reloaded. Changing to prefork appears to eliminate these errors.

This situation occurs after less than an hour of load testing, and is fairly
consistent. With the MPM changed over to prefork, the error has not been seen
over much longer test periods under the same load.

The configuration is an apache httpd doing a ProxyPass to a tomcat running on
the same box. If it matters, the httpd is also using mod_ssl and these requests
are coming in over https.

This is a locally compiled build of 2.2.0, with the only changed code being the
patch that can be found in bug 29744.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message