Ah - having thought about it a bit more I think I know what the bug is here. Can you try running with the "-skip_rlimit" option? If that works I think I know what to fix.
Best, Rob On 30 January 2014 11:41, Kayode Olajide <kayode.olaj...@gltd.net> wrote: > Hi Rob, > > I now see the error > > Can't create raw IPv4 socket (need to run as root?): Too many open files. > > Just to confirm my ulimit -n value is 1048576 > > Do I need to increase that? > > Regards, > > Kayode Olajide > > Globility Ltd. > 40-42 Cannon Street, > London, > EC4N 6JJ > > Tel: +44(0)20 7100 1499 > > Mob: +44(0)75 1724 7059 > > Internet communications are not secure and therefore Globility Limited > does not accept legal responsibility for the contents of this message. > Any views or opinions presented do not necessarily represent those of > Globility Limited unless otherwise stated. > > > ----- Original Message ----- > From: "Rob Day" <r...@rkd.me.uk> > To: "Kayode Olajide" <kayode.olaj...@gltd.net> > Cc: "sipp-users" <sipp-users@lists.sourceforge.net> > Sent: Tuesday, 28 January, 2014 10:20:53 PM > Subject: Re: [Sipp-users] Can't create raw socket (need to run as root?). > > That's odd. I've added better logging to cover that error in the > latest code at https://github.com/SIPp/sipp - could you try it? > > On 28 January 2014 15:13, Kayode Olajide <kayode.olaj...@gltd.net> wrote: >> Hi there, >> >> The output if 'ulimit -n' is >> >> 1048576 >> >> I already set this in the limits.conf file for root user. I am also running >> sipp directly as root (compiled from the source v3.3 in Ubuntu 12.04) >> >> Regards, >> >> Kayode Olajide >> >> Globility Ltd. >> 40-42 Cannon Street, >> London, >> EC4N 6JJ >> >> Tel: +44(0)20 7100 1499 >> >> Mob: +44(0)75 1724 7059 >> >> Internet communications are not secure and therefore Globility Limited >> does not accept legal responsibility for the contents of this message. >> Any views or opinions presented do not necessarily represent those of >> Globility Limited unless otherwise stated. >> >> >> ----- Original Message ----- >> From: "Rob Day" <r...@rkd.me.uk> >> To: "Kayode Olajide" <kayode.olaj...@gltd.net> >> Cc: "sipp-users" <sipp-users@lists.sourceforge.net> >> Sent: Tuesday, 28 January, 2014 3:10:58 PM >> Subject: Re: [Sipp-users] Can't create raw socket (need to run as root?). >> >> On 28 January 2014 14:36, Kayode Olajide <kayode.olaj...@gltd.net> wrote: >>> Hi all, >>> >>> I am seeing the above error when I run sipp with a xml file that plays a >>> message. Sipp crashes after bout 1000 calls have been created. >>> >>> I am running it with the command sipp -sf uas_custom_loop.xml using the >>> latest 3.3 >> >> Hi Kayode, >> >> Can you run 'ulimit -n'? This will show you the maximum number of open >> filehandles each process is allowed to have. Each call's socket for >> sending media counts as one of those filehandles (whereas the SIP >> traffic for all calls is sent over the same socket by default, so that >> doesn't hit that limit). I suspect it defaults to 1024, which is why >> you can't open another socket once you have ~1000 calls going. >> >> If it looks like that is the problem, >> http://stackoverflow.com/questions/34588/how-do-i-change-the-number-of-open-files-limit-in-linux >> will tell you how to raise this limit. >> >> Best, >> Rob ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users