| Author |
Testing the load of the socket server using Threads
|
Varadharajan Srinivasan
Greenhorn
Joined: Aug 02, 2004
Posts: 1
|
|
Hi, I need to test the maxium load of a socket server. I follwed the following steps for that 1. Create a Socket for the server. 2. Used to threads to invoke the steps 1 for "n" threads. In this if i have the number of theads as 50, i program runs fine. But if i am increasing the number of threads to 60 or so, i am getting a NullpointerException. Is this problem occurrs because 1. The server i unable to open more connections or 2. There is probelm on maxium number if ports that can be open by a process 3. Memory probelm in the program Thanks in Advance, Varadha
|
 |
Stefan Wagner
Ranch Hand
Joined: Jun 02, 2003
Posts: 1923
|
|
Test number 3. with changing -X arguments for java. java -X will give you a starting point (-Xms, -Xmx, ....).
|
http://home.arcor.de/hirnstrom/bewerbung
|
 |
 |
|
|
subject: Testing the load of the socket server using Threads
|
|
|