Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

B&S: Testing

 
Muhammad Shafique
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
After running the RMI server on netwrok (using IP address), I ran five thread based clients on same machine which called almost all methods of DBMain. There was almost minor thread sleep/wait during the process. When DB file size passed 300KB and I started new client, I received following exception:

Exception creating connection to: 10.70.73.46; nested exception is:
java.net.SocketException: No buffer space available (maximum connections
reached?): JVM_Bind


Apparently it seems machine recources problem or there may be some limit on clients when they run on same machine which run RMI server. Could any please let me know details of this exception?

Is there any other solid way to test this appliccation?

Thanks
Shafique
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's your network overloading.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic