Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TCP connection limit?, using HttpURLConnection

 
Peter Reitberger
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a multithreaded application that uses HttpURLConnection to send HTTP POST requests. I observe that threads are waiting when 3 TCP connections are in use (3 threads are sending) until one of the 3 connections is released again.
All request/response handling works well except for the restriction to 3 parallel connections at a time.

My question: is there a (configurable?) limit for TCP connections imposed by the JVM or operation system? I use JDK 1.4. on Solaris.

Thanks for any hints,
Peter
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!