<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
check this out: http://comments.gmane.org/gmane.comp.telephony.pbx.asterisk.user/258425 <br><br><div>> From: kchehab@xplorium.com<br>> To: asterisk-users@lists.digium.com<br>> Date: Tue, 21 Jun 2011 13:25:39 +0300<br>> Subject: Re: [asterisk-users] Asterisk call limitation<br>> <br>> Any update ?<br>> <br>> -----Original Message-----<br>> From: asterisk-users-bounces@lists.digium.com<br>> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Khaled W.<br>> Chehab<br>> Sent: Tuesday, June 21, 2011 12:40 AM<br>> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>> Subject: Re: [asterisk-users] Asterisk call limitation<br>> <br>> <br>> The problem remains even when <br>> <br>> I add to /etc/init.d/asterisk<br>> ulimit -n 65536<br>> <br>> [root@localhost ~]# ulimit -a<br>> core file size (blocks, -c) 0<br>> data seg size (kbytes, -d) unlimited<br>> scheduling priority (-e) 0<br>> file size (blocks, -f) unlimited<br>> pending signals (-i) 65536<br>> max locked memory (kbytes, -l) 32<br>> max memory size (kbytes, -m) unlimited<br>> open files (-n) 1024<br>> pipe size (512 bytes, -p) 8<br>> POSIX message queues (bytes, -q) 819200<br>> real-time priority (-r) 0<br>> stack size (kbytes, -s) 10240<br>> cpu time (seconds, -t) unlimited<br>> max user processes (-u) 65536<br>> virtual memory (kbytes, -v) unlimited<br>> file locks (-x) unlimited<br>> [root@localhost ~]#<br>> <br>> -----Original Message-----<br>> From: Khaled W. Chehab [mailto:kchehab@xplorium.com]<br>> Sent: Tuesday, June 21, 2011 12:25 AM<br>> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>> Subject: RE: [asterisk-users] Asterisk call limitation<br>> <br>> Can you please specify more <br>> <br>> 1-how to set the ulimit on<br>> [root@localhost ~]# ulimit<br>> unlimited<br>> [root@localhost ~]# ulimit --help<br>> -bash: ulimit: --: invalid option<br>> ulimit: usage: ulimit [-SHacdfilmnpqstuvx] [limit]<br>> ---------------------------------------------------------------------<br>> How to set the ulimit command on in /etc/init.d/asterisk Since there is no<br>> parameter for ulimit in the file<br>> <br>> Thanks in advance<br>> <br>> Regards<br>> <br>> <br>> <br>> -----Original Message-----<br>> From: asterisk-users-bounces@lists.digium.com<br>> [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Satish Patel<br>> Sent: Tuesday, June 21, 2011 12:15 AM<br>> To: Asterisk Users Mailing List - Non-Commercial Discussion<br>> Subject: Re: [asterisk-users] Asterisk call limitation<br>> <br>> Oh! Wait you set ulimit for running shell You should set ulimit on <br>> asterisk. Also you can set ulimit command on asterisk startup file /<br>> etc/init.d/asterisk and restart asterisk also you can set in limit.conf file<br>> <br>> I had this issue before and I solved that way.<br>> <br>> --<br>> Sent from my iPhone<br>> <br>> On Jun 20, 2011, at 4:47 PM, "Khaled W. Chehab" <kchehab@xplorium.com><br>> wrote:<br>> <br>> ><br>> > I tried the ulimit<br>> ><br>> > [root@localhost ~]# ulimit<br>> > Unlimited<br>> ><br>> > Then<br>> > sipp -sn uac -d 10000 -s 2005 127.0.0.1 -l 150<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:4 Up Playback(ss- <br>> > noservice)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > SIP/127.0.0.1:5061-0 s@from-trunk:5 Up SayAlpha(2005)<br>> ><br>> > 100 active channels<br>> > 100 active calls<br>> > 6407 calls processed<br>> ><br>> > [root@localhost ~]#<br>> > I find in /var/log/asterisk/full<br>> ><br>> > [Jun 20 09:43:17] NOTICE[9705] pbx_ael.c: AEL load process: verified <br>> > config file name '/etc/asterisk/extensions.ael'.<br>> > [Jun 20 09:43:17] VERBOSE[3068] chan_unistim.c: Reloading <br>> > unistim.conf...<br>> > [Jun 20 16:43:33] WARNING[12353] file.c: Failed to write frame [Jun 20 <br>> > 16:43:34] WARNING[12389] file.c: Failed to write frame [Jun 20 <br>> > 16:43:35] WARNING[12394] file.c: Failed to write frame [Jun 20 <br>> > 16:43:43] WARNING[12484] file.c: Failed to write frame [Jun 20 <br>> > 16:43:44] WARNING[12488] file.c: Failed to write frame [Jun 20 <br>> > 16:43:52] WARNING[12573] file.c: Failed to write frame [Jun 20 <br>> > 16:43:57] WARNING[12625] file.c: Failed to write frame [Jun 20 <br>> > 16:44:07] WARNING[12723] file.c: Failed to write frame [Jun 20 <br>> > 16:44:14] WARNING[12789] file.c: Failed to write frame [Jun 20 <br>> > 16:44:22] WARNING[12872] file.c: Failed to write frame [Jun 20 <br>> > 16:44:26] WARNING[12908] file.c: Failed to write frame<br>> ><br>> > Khaled Chehab<br>> > NGN Eng.<br>> ><br>> ><br>> > Operations Office - Lebanon<br>> > Office : +961 1 868686 ext 115<br>> > Mobile: +961 3 045212<br>> > E-mail: kchehab@xplorium.com<br>> > MSN ID :KhalidChehab@hotmail.com<br>> > Web Site: http://www.xplorium.com<br>> ><br>> > -----Original Message-----<br>> > From: asterisk-users-bounces@lists.digium.com<br>> > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Satish <br>> > Patel<br>> > Sent: Monday, June 20, 2011 11:24 PM<br>> > To: Asterisk Users Mailing List - Non-Commercial Discussion<br>> > Subject: Re: [asterisk-users] Asterisk call limitation<br>> ><br>> > It could be your OS limit try ulimit command.<br>> ><br>> > --<br>> > Sent from my iPhone<br>> ><br>> > On Jun 20, 2011, at 2:21 PM, "Kevin P. Fleming" <kpfleming@digium.com><br>> > wrote:<br>> ><br>> >> On 06/20/2011 01:09 PM, Khaled W. Chehab wrote:<br>> >>> Dears,<br>> >>><br>> >>><br>> >>><br>> >>> i am using sipp to test asterisk(1.6.22) performance ,but when i <br>> >>> limit the calls to 150 ,only 100 active calls on asterisk found ?why<br>> >>><br>> >>> sipp -sn uac -d 10000 -s 2005 127.0.0.1 -l 150<br>> >><br>> >> You did not provide any log output, or anything that could be used to <br>> >> try to help you understand your problem. Without any details, any <br>> >> reply you get would be just a guess, nothing more.<br>> >><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>> Regards<br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>><br>> >>> Khaled Chehab<br>> >>><br>> >>> NGN Eng.<br>> >>><br>> >>><br>> >>><br>> >>> Description: xplorium<br>> >>><br>> >>> Operations Office - Lebanon<br>> >>><br>> >>> Office : +961 1 868686 ext 115<br>> >>><br>> >>> Mobile: +961 3 045212<br>> >>><br>> >>> E-mail:<mailto:kchehab@xplorium.com> kchehab@xplorium.com<br>> >>><br>> >>> MSN ID :KhalidChehab@hotmail.com<br>> >>><br>> >>> Web Site: http://www.xplorium.com<br>> >><br>> >> Please refrain from including 20-line signature blocks in your <br>> >> messages to the Asterisk mailing lists (or really, anywhere). Your <br>> >> message had three lines of content and 30+ lines of non-content.<br>> >><br>> >> --<br>> >> Kevin P. Fleming<br>> >> Digium, Inc. | Director of Software Technologies<br>> >> Jabber: kfleming@digium.com | SIP: kpfleming@digium.com | Skype:<br>> >> kpfleming<br>> >> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at <br>> >> www.digium.com & www.asterisk.org<br>> >><br>> >> --<br>> >> _____________________________________________________________________<br>> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com<br>> >> --<br>> >> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> >> http://www.asterisk.org/hello<br>> >><br>> >> asterisk-users mailing list<br>> >> To UNSUBSCRIBE or update options visit:<br>> >> http://lists.digium.com/mailman/listinfo/asterisk-users<br>> >><br>> ><br>> > --<br>> > _____________________________________________________________________<br>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com<br>> > -- New to<br>> > Asterisk? Join us for a live introductory webinar every Thurs:<br>> > http://www.asterisk.org/hello<br>> ><br>> > asterisk-users mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> > http://lists.digium.com/mailman/listinfo/asterisk-users<br>> ><br>> ><br>> > --<br>> > _____________________________________________________________________<br>> > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- <br>> > New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> > http://www.asterisk.org/hello<br>> ><br>> > asterisk-users mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> > http://lists.digium.com/mailman/listinfo/asterisk-users<br>> ><br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to<br>> Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>> <br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to<br>> Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>> <br>> <br>> <br>> *********************************************<br>> No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.<br>> <br>> This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.<br>> <br>> If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.<br>> <br>> Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.<br>> *********************************************<br>> <br>> <br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br></div>                                            </div></body>
</html>