From: Kayode O. <kay...@gl...> - 2014-01-30 11:42:26
|
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" <rk...@rk...> To: "Kayode Olajide" <kay...@gl...> Cc: "sipp-users" <sip...@li...> 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 <kay...@gl...> 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" <rk...@rk...> > To: "Kayode Olajide" <kay...@gl...> > Cc: "sipp-users" <sip...@li...> > 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 <kay...@gl...> 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 |