<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br>Solution: The problem is not actually with number of threads.. It is with the stack size.<br>
Just reduce stacksize per thread and it allowed thousand of calls :) Also use same configuration to sipp client and server. <br><br>ulimit -s 1024 <br><br><br><hr id="stopSpelling">From: satish_lx@hotmail.com<br>To: asterisk-users@lists.digium.com<br>Date: Wed, 13 Apr 2011 15:08:15 +0000<br>Subject: Re: [asterisk-users] Asterisk thread limitver <br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
Oops! Asterisk open 419 total thread and stop accepting connection. Can we control number of thread to open or limit ?<br><br>root@XXXX:~# ps -C asterisk -L -o pid,tid,pcpu,state,nlwp,args | wc -l<br>419<br><br><br>> Date: Wed, 13 Apr 2011 10:58:31 -0400<br>> From: lathama@gmail.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Asterisk thread limit<br>> <br>> On Wed, Apr 13, 2011 at 10:50 AM, satish patel <satish_lx@hotmail.com> wrote:<br>> > Hi Guys!<br>> ><br>> > I'm middle of testing my asterisk-1.8.3.2 just make sure how much call it<br>> > could handle in production so following is my senario.<br>> ><br>> > [sipp_client]---------------[Asterisk]----------------[sipp_server]<br>> ><br>> > sipp_client<br>> > ./sipp -sf uac_pcap.xml -d 100000 -i 172.30.254.211 -s 2000 172.30.1.47 -l<br>> > 1000 -r 250 -rp 5000 -m 1000<br>> ><br>> > sipp_server<br>> > ./sipp -sn uas -i 172.30.245.208<br>> ><br>> ><br>> > In above if i set -r 250 -rp 5000 calls per sec. in this case my asterisk<br>> > stopped accepting calls at 382 active calls and sipp client through error<br>> > "1302704824.872674: Can create thread to send RTP packets. (But asterisk is<br>> > still live to accept calls)<br>> > "<br>> ><br>> > I have ulimit is set to unlimited so just wondering is there any asterisk<br>> > number of thread limitation which we can set to go beyond this boundary?<br>> ><br>> > -S<br>> <br>> Memory limit or load limit might cause this also.<br>> <br>> -- <br>> ~~~ Andrew "lathama" Latham lathama@gmail.com ~~~<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>--
_____________________________________________________________________
-- 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                                            </body>
</html>