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=30260>.
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=30260

apr_socket_connect(() fails under load: Only one usage of each socket address 
(protocol/network address/port) is normally permitted





------- Additional Comments From [EMAIL PROTECTED]  2004-07-22 16:49 -------
>Would it be possible to improve the error message so that it better explains
>what needs to be done?

unclear; one concern is that there is no unique errno (or OS equivalent) which
says that the operation failed due to no available ephemeral port, and it would
be hard to say definitively that some OS foo returns some error code bar from
this particular call to connect() IFF it is out of ephemeral ports

proxy could add something a bit vague like "(out of ephemeral ports?)" to its
log message based on looking at the apr_status_t (definitely can't add that for
the normal ECONNREFUSED errors or perhaps several others

>If these errors are potentially Win32 related (or caused), then the error 
>should
>probably say what needs to be changed to prevent the error from occuring.

Running out of ephemeral ports in load test scenarios can happen on any platform
I have access to if I haven't tweaked the OS to allow a full range of ephemeral
ports.

--/--

Back to the big picture: Somebody getting that message during load testing needs
to increase the range of ephemeral ports to the full possible range and verify
that their problem is resolved.  I can only say this:

* running out of ephemeral ports is something that can happen with such a test
* different OSs report different error codes on connect when you run out of
ephemeral ports
* that very well could be the Win32 way of reporting it but I can't say for 
certain

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to