Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jain-Sip to simulate a large number of softphones

851336Mar 29 2011 — edited Mar 29 2011
I am using Jain Sip to simulate softphones, the goal is to run thousands of such softphones on my server to simulate all the softphone endpoints using TCP. The problem I am having is that TCPMessageProcessor seems to create 5 threads per softphone in SipStack.createListeningPoint which my server ends up run out of native threads.

The doc for UDPMessageProcessor (http://hudson.jboss.org/hudson/job/jain-sip/lastSuccessfulBuild/artifact/javadoc/gov/nist/javax/sip/stack/UDPMessageProcessor.html) states that there is a thread pool in UDP, is there a thread pool in TCP? Or anyone knows how to minimize the number of threads in TCP?

Thanks

-Lowe
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2011
Added on Mar 29 2011
1 comment
282 views