[omniORB] large messages -> WSAENOBUFS
Duncan Grisby
duncan@grisby.org
Wed Sep 18 16:57:01 2002
On Tuesday 17 September, "Renzo Tomaselli" wrote:
> we just ported an OmniORB 3.04 based application to Windows XP SP1.
> Things run well except when large messages are involved (say 140 Mb for a
> practical failure). In such case socket send fails and winsock LastError
> reports WSAENOBUFS. And yes, before anybody asks, omniORB::MaxMessageSize
> was set pretty high.
[...]
> MSDN reports this as being a known bug for NT. They also suggest to set
> socket option SO_SNDBUF to 0 so that application buffer is used directly
> instead of making an internal transport stack copy. I don't know whether
> this affects performance, but it might be of intererest for the forthcoming
> 4.0 version.
I can't help thinking that it's a bad idea to send messages that big,
but anyway...
Can you try setting that socket option in omniORB, and see if it
helps?
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan@grisby.org --
-- http://www.grisby.org --