<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>see this</DIV><DIV><BR class="khtml-block-placeholder"></DIV><A href="http://bugs.digium.com/view.php?id=3986">http://bugs.digium.com/view.php?id=3986</A><DIV><BR class="khtml-block-placeholder"></DIV><DIV>also try to 'SIP show channels' to see if there are lots of open SIP channels with codec set to Unknown</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>roy</DIV><DIV><BR><DIV><DIV>On 11. sep. 2005, at 19.14, Jerris, Michael MI wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV dir="ltr" align="left"><FONT face="Tahoma"><FONT size="2"><B>From:</B> asterisk-dev-bounces@lists.digium.com [mailto:asterisk-dev-bounces@lists.digium.com] <B>On Behalf Of </B>Bryan Field-Elliot<FONT face="Arial"><FONT color="#0000ff"><SPAN class="673541217-11092005"> </SPAN></FONT></FONT></FONT></FONT></DIV> <DIV dir="ltr" align="left"><FONT face="Tahoma"><FONT size="2"><FONT face="Arial"><FONT color="#0000ff"><SPAN class="673541217-11092005"> </SPAN><SPAN class="673541217-11092005"> </SPAN></FONT></FONT></FONT></FONT>We are using Asterisk 1.0.9.<BR><BR>In rtp.conf, we have:<BR><BR>rtpstart=20000<BR>rtpend=25000<BR><BR>We only have around 500 SIP clients per server (not the 2,500 which the above settings could theoretically support). But our server, over time, keeps growing and growing the number of UDP ports in use. Using "lsof", we see another pair of ports get opened around every minute. My questions are:<BR><BR>1. Is this normal, or is there a leak somewhere?<BR><BR>2. After all 5,000 ports are opened, will Asterisk start recycling the ports already opened previously, or will it run out of resources for new calls?<BR><BR><SPAN class="673541217-11092005"><FONT face="Arial" color="#0000ff" size="2"> </FONT></SPAN></DIV> <DIV dir="ltr" align="left"><SPAN class="673541217-11092005"><FONT face="Arial" color="#0000ff" size="2"></FONT></SPAN> </DIV> <DIV dir="ltr" align="left"><SPAN class="673541217-11092005"><FONT face="Arial" color="#0000ff" size="2"></FONT></SPAN> </DIV> <DIV dir="ltr" align="left"><SPAN class="673541217-11092005"><FONT face="Arial" color="#0000ff" size="2">It Will run out of ports.  There is currently an open bug in mantis for this.  I do not beleive that cvs head currently exibits this behavior but you would have to test to be sure.</FONT></SPAN></DIV> <DIV dir="ltr" align="left"><SPAN class="673541217-11092005"><FONT face="Arial" color="#0000ff" size="2"></FONT></SPAN> </DIV> <DIV dir="ltr" align="left"><SPAN class="673541217-11092005"><FONT face="Arial" color="#0000ff" size="2">Mike</FONT></SPAN></DIV> <DIV dir="ltr" align="left"><SPAN class="673541217-11092005"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Asterisk-Dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Asterisk-Dev@lists.digium.com</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">http://lists.digium.com/mailman/listinfo/asterisk-dev</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To UNSUBSCRIBE or update options visit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space">   </SPAN>http://lists.digium.com/mailman/listinfo/asterisk-dev</DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>