2015-07-10 04:20 AM
This could be an easy one to resolve and I'm sure I've seen it before but just cannot remember what we did to resole.
When I try to log in I'm getting an error:
"java.net.SocketException: No buffer space available (maximum connections reached?): connect"
Can anyone please suggest a resolution for this? Thanks.
2015-07-10 06:34 AM
It tunrs out that this is down to a known bug with Microsoft Server 2008 R2.
Kernel sockets leak on a multi-processor computer running Windows Server 2008 R2.
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
Specifically, the application may be unable to create new sockets and a "no buffer space available" or "insufficient buffer space" exception occurs on the computer. Additionally, when this issue occurs users cannot remotely connect to the computer until it is restarted.
This issue occurs because of a race condition in the Ancillary Function Driver for WinSock (Afd.sys) that causes sockets to be leaked. With time, the issue that is described in the "Symptoms" section occurs if all available socket resources are exhausted.
Applying the following hotfix resolved the issue.