Archived

This forum has been archived. Please start a new discussion on GitHub.

IceGridRegistry Occur ‘WSAENOBUFS' SocketException

Hello, everyone!

I have a problem with icegridregistry.exe.
My OS System is Windows2012, ICE Version is 3.5.1. When My System have run for serveral hours, the icegridregistry can't accept any new connection. (For exaple, IceGridGUI.jar).
I have opened the trace log. There were many socket excptions. The Socket error is the 'WSAENOBUFS'.
Could anyone tell me why? How can I slove this?


-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: trying to establish tcp connection to 10.45.194.221:52026
-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: connection to endpoint failed and no more endpoints to try
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: retrying operation call because of exception
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: trying to establish tcp connection to 10.45.194.221:52026
-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: connection to endpoint failed and no more endpoints to try
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: cannot retry operation call because retry limit has been exceeded
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Protocol: sending reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 27
request id = 4950
reply status = 0 (ok)
-- 06/09/16 16:35:22.893 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: sent 27 of 27 bytes via tcp
local address = 10.45.194.221:52001
remote address = 10.45.194.220:55230
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: received 14 of 14 bytes via tcp
local address = 10.45.194.221:52001
remote address = 10.45.194.220:55230
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: received 79 of 79 bytes via tcp
local address = 10.45.194.221:52001
remote address = 10.45.194.220:55230
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Protocol: received request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 93
request id = 4951
identity = UnmBusIceGrid/Locator
facet =
operation = findObjectById
mode = 2 (idempotent)
context =
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: trying to establish tcp connection to 10.45.194.221:52026
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: connection to endpoint failed and no more endpoints to try
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: retrying operation call because of exception
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: trying to establish tcp connection to 10.45.194.221:52026
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: connection to endpoint failed and no more endpoints to try
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Retry: cannot retry operation call because retry limit has been exceeded
Network.cpp:1329: Ice::SocketException:
socket exception: WSAENOBUFS
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Protocol: sending reply
message type = 2 (reply)
compression status = 0 (not compressed; do not compress response, if any)
message size = 126
request id = 4951
reply status = 0 (ok)
-- 06/09/16 16:35:22.909 E:/unm2000/platform/thirdparty/win32_vc9_x86/bin/icegridregistry.exe: Network: sent 126 of 126 bytes via tcp
local address = 10.45.194.221:52001
remote address = 10.45.194.220:55230

Comments

  • benoit
    benoit Rennes, France

    Hi,

    It sounds like you could be running out of ephemeral ports on your machine if these errors occur on connection establishment. Do you have processes on this machine that create lots of TCP/IP connections?

    You could check the number of TCP/IP connections opened using the following command:

    C:\> netstat -abn | find /c ":"

    Cheers,
    Benoit.