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 48363] Intermittent error "Address already in use: proxy: HTTP: "
Date Wed, 16 Dec 2009 13:45:14 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48363

Chris May <chrismay50@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Chris May <chrismay50@gmail.com> 2009-12-16 05:45:12 UTC ---
Having investigated further, I now think this is not an apache bug, but rather
a bug with Solaris which I happened to trigger at the same time as migrating to
2.2.9. For the benefit of anyone else who should run into it, here are the
details:

Solaris bug 6670527 (
http://sunsolve.sun.com/search/document.do?assetkey=1-1-6670527-1 ) says:

Simultaneous connect() issued from multiple shared stack zones fails with
EADDRINUSE

[...]

This is caused by the fact that the zones have a shared stack. This means that
we have a single connection hash
for the single stack. If we are using INADDR_LOOPBACK(127.0.0.1) in all address
specifications and the server in
question is on a static port, the only unique member of the tuple is the local
port. This can be duplicated
in ephemeral port selection or can be explicitly bound to be the same, hence
the failure.

Applying the suggested workaround (proxying to the zone's local IP address
rather than 127.0.0.1) appears to fix the problem for me. There is also a
kernel patch available.

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

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


Mime
View raw message