> I have a distributed java (jdk1.4) system running on a Windows 2003
> enterprise server (4 cpu 8GB RAM).
[quoted text clipped - 6 lines]
> java.net.SocketException: No buffer space available (maximum
> connections reached?): recv failed
Did you do what I recommended last week or so? There can be issues with
socket cleanup and Java, and while you may only have a few sockets
running, it can snowball. Since JMS is implemented per vendor, hard to
say. Showing from a TCP point of view what is happening could explain
alot - or eliminate some possibilities.
In short, run netstat and post your filtered results.
HTH,
iksrazal
http://www.braziloutsource.com/
daniel.shaya@tamesis.com - 30 Jun 2005 15:33 GMT
Yes I tried this.
We are definitely not running out of sockets.
I'm afraid it's something else.
iksrazal@terra.com.br - 30 Jun 2005 17:40 GMT
> Yes I tried this.
>
> We are definitely not running out of sockets.
>
> I'm afraid it's something else.
There is a difference between having say 15 sockets open but not
closing them properly and ending up with a 1000. Anyways, still seems
like a resource issue - that is always the case with this exception.
You could try using a bigger bucket at the OS level. In Windows there
is a "MaxConnections" registry key. Note this just makes the bucket
bigger and may just overflow again. I'm afraid you'll have to do some
testing at the OS level to understand just what resource Java seems to
be lacking. Something should be obvious.
HTH,
iksrazal
http://www.braziloutsource.com/