File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Thread question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Thread question" Watch "Thread question" New topic

Thread question

xin dong
Ranch Hand

Joined: Mar 24, 2003
Posts: 33
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

Joined: Jul 07, 2003
Posts: 555
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.

Niall ORiordan

Joined: Jul 22, 2003
Posts: 15
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.

Vlad Rabkin
Ranch Hand

Joined: Jul 07, 2003
Posts: 555
Hi Niall,
There are two topics discussing the problem:
I agree. Here's the link:
subject: Thread question
It's not a secret anymore!