[asterisk-users] Number of max SIP calls.

Ankit Agarwal ankit.agarwal at coraltele.com
Mon May 18 14:31:34 CDT 2009


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090518/31d47733/attachment.htm 


More information about the asterisk-users mailing list