[asterisk-users] Number of max SIP calls.

Alex Balashov abalashov at evaristesys.com
Mon May 18 05:37:39 CDT 2009


Sounds like you're out of file descriptors on the platform on which the 
Asterisk process is being invoked.  I can only guess, since you don't 
specify the platform.

Ankit Agarwal wrote:

> Hello,
> 
> I m using asterisk version 1.6.2.0 beta.
> 
> I m trying to test load on it, for which i m using WINSIP installed at 
> two computers and facing two problems.
> 
> _Problem 1:_
> 
> I got 100 users registered to asterisk from each winsip and then 
> initiates 100 calls from one winsip  other winsip.
> 
> But the problem is approx of 60 calls get mature and asterisk give error 
> for the remaining like shown below.
> 
> 
>> May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8315]: pbx_spool.c:472 scan_thread: Unable to open directory /var/spool/asterisk/outgoing: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket
>> [May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files
>> [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files
>>
> 
> _Problem 2:_
> 
> Then i tried 10 calls in repeating fashion means 10 calls will mature and then will be disconnected and send the calls again.
> 
> in this scenario originating side seams to be functioning right but asterisk fails to send disconnect to receiving end.
> 
> 
> 
> Thanks & Regards
> Ankit Agarwal
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775



More information about the asterisk-users mailing list