Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No buffer space available (maximum connections reached?) at 130 connections

843790Aug 3 2009 — edited Aug 3 2009
Hi,
I am trying to find out this problem for more than week.
System: XP 32b sp 2 or 3. Java 1.6 u7 or u16. Two network cards, only one is used.

Exception:
 cause:javax.naming.CommunicationException: Failed to connect to server IP:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server IP:1099 [Roo
t exception is java.net.SocketException: No buffer space available (maximum connections reached?): JVM_Bind]]
We are using just couple of TCP/IP connections. RMI (for communication with jboss server), http and couple of local socket.

I check all places and made sure that we are closing everything. Netstat show 130 +-10 connections.
App will die randomly after 2h to 2days.
We are checking connections every 30seconds (using rmi lookup). And from time to time Server send some update message back to client. (Client have ServerSocket opened).


I tried to check which connection jvm opened using jconsole or other monitor tools, but without any success.

Edited by: nemecp4 on Aug 3, 2009 1:31 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 31 2009
Added on Aug 3 2009
0 comments
576 views