[Tsung] Generating over 32k clients from a single machine

Vinod Panicker vinod.p at gmail.com
Mon Mar 3 11:57: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:
>
>  --- ts_client.erl       (revision 808)
>  +++ ts_client.erl       (working copy)

<snip/>

Thanks, will try this out. BTW, with the source from trunk the issue
reg "stop in state think" is still occurring. According to you, the
http method type was missing, but I'm using jabber requests, so this
attribute is anyways not there. Reverting to rev. 722 for testing.

Regards,
Vinod.


More information about the Tsung-users mailing list