it seems your rtp.conf settings is incorrect plese list your settingd here regards Dhaval On Tue, May 19, 2009 at 1:01 AM, Ankit Agarwal <ankit.agarwal at coraltele.com>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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090518/598aa96d/attachment.htm
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
Ankit Agarwal schrieb:>> 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 sockethello, it looks like your file limit has been reached. take a look a ulimit. the best you can do is to edit your safe_asterisk and add the following lines: ulimit -c unlimited ulimit -n 1000000 then the error shouldnt come again. best regards. steve
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