Hello Everyone, We are getting some rather poor results (relative) with our Asterisk setup. Not sure if we are using the sipp correctly etc.. but nevertheless, is there any documentation that describes how we can get the most our of our Asterisk box. For example when we hit the "too many file" error, and fixing it using ulimit..... Also, is there any way we can allocate sufficient memory to our Asterisk instance when starting the PBX. An up to date and in-depth tutorial that covers this would be great. A quick search yielded pretty motivating success stories, but no little to no description on how to achieve them. Kind Regards, Nick.
I dont apply any secret recipe while installing asterisk, but maybe you can share yours... I am typing from my mobile phone... Il giorno 23/mar/2013 14:34, "Nick Khamis" <symack at gmail.com> ha scritto:> Hello Everyone, > > We are getting some rather poor results (relative) with our Asterisk > setup. Not sure if we are using the sipp correctly etc.. but > nevertheless, is there any documentation that describes how we can get > the most our of our Asterisk box. For example when we hit the "too > many file" error, and fixing it using ulimit..... Also, is there any > way we can allocate sufficient memory to our Asterisk instance when > starting the PBX. > > An up to date and in-depth tutorial that covers this would be great. A > quick search yielded pretty motivating success stories, but no little > to no description on how to achieve them. > > > Kind Regards, > > Nick. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130323/f43ea738/attachment.htm>
Oh no secret. Some things I do is increase the ulimit size. I was wondering if there was a way to increase allocated memory. I have been reading about a -p option but when I start asterisk using "asterisk -p -10" it does not accept it but "asterisk -p 10" works fine. Not sure if that was the intended new value. Also, I just want to mention I am not trying to break any records. Just would like to get a ~200 concurrent call stable environment using G729 out of our setup. Thanks in Advance, Nick.
Nick Khamis wrote:> Oh no secret. Some things I do is increase the ulimit size. I was > wondering if there was a way to increase allocated memory. I have been > reading about a -p option but when I start asterisk using "asterisk -p > -10" it does not accept it but "asterisk -p 10" works fine. Not sure > if that was the intended new value. > > Also, I just want to mention I am not trying to break any records. > Just would like to get a ~200 concurrent call stable environment using > G729 out of our setup.Are you transcoding? If so then that is where most of your CPU is going, and the only option to make it go further is to use a hardware transcoding solution. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org
On Sat, Mar 23, 2013 at 12:06 PM, Joshua Colp <jcolp at digium.com> wrote:> Nick Khamis wrote: >> >> Oh no secret. Some things I do is increase the ulimit size. I was >> wondering if there was a way to increase allocated memory. I have been >> reading about a -p option but when I start asterisk using "asterisk -p >> -10" it does not accept it but "asterisk -p 10" works fine. Not sure >> if that was the intended new value. >> >> Also, I just want to mention I am not trying to break any records. >> Just would like to get a ~200 concurrent call stable environment using >> G729 out of our setup. > > > Are you transcoding? If so then that is where most of your CPU is going, and > the only option to make it go further is to use a hardware transcoding > solution. > > -- > Joshua Colp > Digium, Inc. | Senior Software Developer > 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA > Check us out at: www.digium.com & www.asterisk.org+1 on hardware card. There are various other tools, even a network based encoding solution. Offloading to hardware can show you how stable/strong your system might already be. -- ~ Andrew "lathama" Latham lathama at gmail.com http://lathama.net ~
On Sat, Mar 23, 2013 at 09:33:38AM -0400, Nick Khamis wrote:> Hello Everyone, > > We are getting some rather poor results (relative) with our Asterisk > setup. Not sure if we are using the sipp correctly etc.. but > nevertheless, is there any documentation that describes how we can get > the most our of our Asterisk box. For example when we hit the "too > many file" error, and fixing it using ulimit..... Also, is there any > way we can allocate sufficient memory to our Asterisk instance when > starting the PBX.On any decent OS the OS should do that automatically for you.> > An up to date and in-depth tutorial that covers this would be great. A > quick search yielded pretty motivating success stories, but no little > to no description on how to achieve them.What do you want to optimize? What is the current bottleneck? Run the system in "full capacity" and provide us some data. For starters: free -m uptime vmstat -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir