Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Thread question

 
xin dong
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I create a class to test multi-threading book.when work in 50 , 100 threads
it's ok. but when I set thread number 1500.some connection requests will be refused.what's the matter with it?
any answer is appreciated!!!
 
Vlad Rabkin
Ranch Hand
Posts: 555
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I had the same problem when having more than 20 Threads. I don't the reason,
but there is a topic, which discusses the problem. It was conculded there that is should have our concern.

Vlad
 
Niall ORiordan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vlad,
Can you post a reference to the thread you are referring to I have a similar problem and would like to read other peoples approcah to this.
Regards,
/Niall
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic