Hi Hideyuki,

I am assuming you are running on some sort of Linux environment? There
is an inbuilt limitation with most Linux environments which limit the
number of sockets, for example to 6 as you have found. This is not a
SIPp limitation, rather an operating system limitation to help protect
the operation system.

You shouldn't need 100 SIPp instances on a single PC and IMHO you are
doing or thinking wrong.

You should only need 1 or 2 SIPp instances for the UAC and UAS. A
single SIPp instance can handle many users by using a CSV injection
file. Just put ALL users in the one CSV file, not just BOB!

Let us know,

Simon

On 9/27/07, Hideyuki Yamashita <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have tried with the latest unstable source, but problem did not resolved.
>
> I made one hundred sets of user data.
> In the shell script, I specify different port with -p parameter and -mp
> parameter on each user.
>
> When I invoke shell scripts from first user to 100th user by command line,
> From first user to 6th user , it is successful.
> (In another words, six sipp instances are normally instantiated)
> However after 7th user, error message like below emerge.
> 'Unable to bind video RTP socket (IP=172.16.3.170, port =20005) errno = 98
> (Address already in use).'
>
> I checked port status by netstat command, but the port was available.
>
> So the phenomenon looks strange.
> Are there any problems when invoking multiple sipp instance(in server mode)
> simultaniously?
> Please somebody help me.
>
> [Attached File]
> reg_bob.sh                    ->shell script which invokes
> message_receiver.xml scenario with user data registration.csv.bob
> message_receiver.xml    ->sipp scenario which wait SIP MESSAGE and send 200
> OK
> registration.csv.bob        ->csv file which includes user data
>
> BR,
> Hideyuki
>
> 2007/9/26, Hideyuki Yamashita <[EMAIL PROTECTED]>:
> >
> > Hello Olivier and all,
> >
> > Thanks for your advice.
> > I will try it with the version you advised me.
> >
> > By the way, I could achieve register and publish one hundred users.
> > I simply tried to invoke shell scripts sequentially.
> > (In another words, Alice register -> Alice Publish ->Bob register ->Bob
> Publish ->Carry Register -> Carry Publish...)
> > So I could resolve the half of the problem.
> >
> > However another problem happens.
> > I want one hundred users to wait SIP MESSAGE on specified ports.
> > Each user waits on different port.
> > And when sipp received MESSAGE , I want sipp to send 200 OK to the message
> sender.
> >
> > I want to invoke one hudred sipp instances simultaniously.
> > However when I invoked  the message receiver scenario like below, it
> blocked until SIP MESSAGE arrival.
> >
> > /root/sipp-2.0.1.src/sipp -sf
> /root/sipp_register_success070110/message_receiver.xml -inf
> /root/sipp_register_success070110/registration.csv.bob
> -trace_err -trace_stat -fd 2 -i 172.16.3.170 -p 5062 172.16.5.11:5060 -m 1
> >
> > So I tried to invoke the scenarios with -bg option.
> > Because I specified -bg option, it did not block and I could invoke one
> hundred scenarios.
> >
> > However from ps command or netstat command, only 6 sipp instance are
> instantiated.
> > The phenomenon is odd for me.
> >
> >
> > Are there any restrictions or manners when  I want to invoke sipp with -bg
> mode?
> >
> > BR,
> > Hideyuki
> >
> >
> >
> > >
> > >
> > >
> > >
> > > Hello Hideyuki,
> > >
> > >
> > >
> > > You may try with the latest unstable trunk version.
> > >
> > >
> > >
> > > Regards,
> > >
> > >
> > >
> > >
> > > Olivier Boulkroune
> > >
> > >
> > >
> > > ________________________________
>
> > >
> > > De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] ] De la
> part de Hideyuki Yamashita
> > > Envoyé : mercredi 26 septembre 2007 08:57
> > > À : Simon Flannery
> > > Cc : [email protected]
> > > Objet : Re: [Sipp-users] Is it possible to launch multiple sipp instance
> onone PC?
> > >
> > >
> > >
> > >
> > >
> > > Hi Simon,
> > >
> > >
> > >
> > >
> > >
> > > Thanks to your reply!
> > >
> > >
> > > I am very grateful.
> > >
> > >
> > >
> > >
> > >
> > > However I am already using -p flag/swith and specifing different port in
> each shell script.
> > >
> > >
> > > For example, bob uses 5060 port and alice uses 5061 port and carry uses
> 5062 port ..etc.
> > >
> > >
> > >
> > > So the phenomenon is strange for me.
> > >
> > >
> > >
> > >
> > >
> > > Best Regards,
> > >
> > >
> > > Hideyuki
> > >
> > >
> > >
> > > 2007/9/26, Simon Flannery < [EMAIL PROTECTED]>:
> > >
> > > Hi Hideyuki,
> > >
> > > Yes, it can be done. Easy, just make sure that each SIPp instance uses
> > > a DIFFERENT port.
> > >
> > > Cheers,
> > >
> > > Simon
> > >
> > > On 9/26/07, Hideyuki Yamashita < [EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > I have problems when I invoke multiple sipp instance simultaniously.
> > > > If somebody knows the resolution, please help me.
> > > >
> > > >
> > > > [What I want to achieve by using sipp]
> > > > I want to emulate multiple(one hundred or more) sip terminal in one
> PC.
> > > > When I try to invoke one user scenario, sipp runs normally, however
> > > > when I try to invoke multiple user scenario, error message
> > > > "Address already in use errno=98" appears.
> > > >
> > > >
> > > > I am trying to use each sipp instance as following scenario.
> > > > 1.Register with the sip proxy(with md5 digest authentication)
> > > > 2.Receive 200 OK response from the proxy.
> > > > 3.Publish the presence state to the proxy
> > > > 4.Receive 200 OK response from the proxy.
> > > > 5.Receive SIP MESSAGE from another sip entity via proxy.
> > > > 6.Send 200 OK response to the proxy.
> > > > Each sipp instance has different sip address and use different local
> port.
> > > >
> > > > [About Attached Files]
> > > > I created Linux bash shell script named reg_bob.sh.
> > > > In the shell script register and publish are invoked at
> > > > first.(register_client.xml)
> > > > After that shell script sipp wait for receiving SIP
> > > > Message.(message_receiver.xml)
> > > > Those two scenario is invoked with common user data(
> registration.csv.bob)
> > > >
> > > > [How I invoked shell script simultaniously]
> > > > To emulate one hundred terminal,I created one hundred set of
> > > > shell scripts(reg_xxx.sh) and user data.(registaration.csv.xxx )
> > > > In the shell script different local port is specified to avoid port
> > > > conflict.
> > > > I created Java thread program which invokes shell scripts(reg_xxx.sh)
> in
> > > > pararell.
> > > >
> > > > [Platform Information]
> > > > Fedora Core 4 x86_64
> > > > sipp-2.0.1
> > > >
> > > > Is it possible to launch multiple sipp instance on one PC or some
> > > > restriction exists when using sipp?
> > > > Any advise or suggestion is very helpful.
> > > >
> > > > Thanks and Best Regards,
> > > > Hideyuki
> > > >
> -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by: Microsoft
> > > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > >
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > > _______________________________________________
> > > > Sipp-users mailing list
> > > > [email protected]
> > > >
> https://lists.sourceforge.net/lists/listinfo/sipp-users
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to