[Home]

Summary:ASTERISK-24285: ulimit -n 1000000,but only create 500 channels in one conference,why?
Reporter:wangpeng (voipwangpeng)Labels:
Date Opened:2014-08-28 21:32:51Date Closed:2014-08-29 11:15:25
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:11.5.0 Frequency of
Occurrence
Related
Issues:
Environment:ubuntu12.04 ,and fs.file-max = 10000000 Attachments:
Description:i only use sip protocol. only can create 500 channels in one conference.
when create 501st  channel,log is :

   -- Executing [1@addtoconf:3] Originate("SIP/8012-00000000", "sip/1300,exten,from-internal,3346,1,30") in new stack
[Aug 29 09:45:43] ERROR[4876][C-00000000]: res_rtp_asterisk.c:1761 ast_rtp_new: Oh dear... we couldn't allocate a port for RTP instance '0xa7c5402c'
[Aug 29 09:45:43] NOTICE[4876][C-00000000]: channel.c:5637 __ast_request_and_dial: Unable to request channel sip/1300


how to Increase this?
Comments:By: wangpeng (voipwangpeng) 2014-08-28 22:13:38.186-0500

when i modify /etc/profile  ulimit -SHn 1000000,modify 1000000 to 5000000,and then restart machine,and then execute command "ulimit -n " ,result is 1024;and i try 3000000   2000000, result is also 1024 (1024 is default value). in other word ,max is 1000000.

By: Matt Jordan (mjordan) 2014-08-29 11:15:35.430-0500

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support.



By: wangpeng (voipwangpeng) 2014-09-22 02:12:16.497-0500

it is my wrong, i am not modify rtp.conf , then modify rtpstart and rtpstop, it is ok.