Jain-Sip to simulate a large number of softphones
851336Mar 29 2011 — edited Mar 29 2011I 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