[Tsung] Generating over 32k clients from a single machine
vinod.p at gmail.com
Mon Mar 3 14:09:49 CET 2008
On Mon, Mar 3, 2008 at 2:56 PM, Nicolas Niclausse <nicolas at niclux.org> wrote:
> Vinod Panicker ecrivait le 28.02.2008 12:28:
> >> Thanks, will try this out. The interfaces are configured such just so
> >> we can get around the 65k limit per ip for the test.
> > This configuration allows tsung to use a single beam.smp process and
> > utilize all 4 ip addresses, but there's another weird problem
> > occurring now. Tsung is not reusing the port numbers between the ip
> > address. Eg - port number 4444 will be used only once instead of 4
> > times. Eventually, it runs out of available ports at around 65k.
> > Verified this using the netstat output.
> tsung has no control on the client port (for tcp).
> Maybe reuseaddr must be set to true, even if the IP is different ?
> If this is the case, this patch should fix your problem:
Applied the patch, but it doesn't make any difference. AFAIK reuseaddr
is for binding to a ip:port that is in a non-ESTABLISHED state. Any
Weird that Jason didn't run into the same problem.
More information about the Tsung-users