tags:

views:

468

answers:

3

A customer receive the error "java.net.SocketException: recv failed: Insufficient buffer space" on windows. With the netstat command we see only approx. 100 socket connections. I have change the MaxUserPort to 60000 like described at http://support.microsoft.com/default.aspx?scid=kb;EN-US;196271

I know that this Java error is equals to the socket error 10055 WSAENOBUFS. But I have no idea where I should search for the cause of this problem. Any ideas?

A: 

Hi, can you give more info on the environment and software? Does your server rapidly open up connections? Is this a self created socket server or is it some kind of application server? Are you using java's nio packages? Oh, and is this the server socket (listening)? or client socket connecting out?

A: 

Maybe your program manually sets the local port number to one of the problematic port numbers >5000. If, for example, you have something like

Socket s = new Socket( remoteAdress, remotePort, localAdress, localPort );

check, if localPort is smaller than 5000.

ablaeul
A: 

What is a "problematic port number"? Could you enlighten me what did you mean by that?

Robert
I think it was port 8000.
Horcrux7