Too many open connections... Did I mess up something?

Posted by Legend on Stack Overflow See other posts from Stack Overflow or by Legend
Published on 2010-04-16T20:52:07Z Indexed on 2010/04/16 21:23 UTC
Read the original article Hit count: 291

I am developing a plugin (for a Bittorrent client named Azureus programmed in Java) that lets me add peers into the current list from which it is downloading. Everything was working fine until yesterday when I started getting these weird errors:

DEBUG::Thu Apr 15 10:45:40 CET 2010::org.gudy.azureus2.core3.peer.impl.control.PEPeerControlImpl::addPeer::795: 
   Injected peer 90.35.126.126:33064 was not added - Too many connections 
DEBUG::Thu Apr 15 10:48:40 CET 2010::org.gudy.azureus2.core3.peer.impl.control.PEPeerControlImpl::addPeer::795: 
       Injected peer 80.25.126.126:33064 was not added - Too many connections 
DEBUG::Thu Apr 15 10:52:40 CET 2010::org.gudy.azureus2.core3.peer.impl.control.PEPeerControlImpl::addPeer::795: 
       Injected peer 90.35.126.126:33064 was not added - Too many connections 

I am thinking I messed up something with the TCP sockets. Does anyone know why this could be happening?

© Stack Overflow or respective owner

Related posts about java

Related posts about bittorrent