Hello,

we are curently benchmarking an asterisk system
1034 sip users are logged into this system and the test software is
trying to establish 400 concurrent calls.

In the CLI I see the following messages: 

Apr 19 14:20:51 WARNING[4045]: rtp.c:911 ast_rtcp_new: Unable to
allocate socket: Too many open files
Apr 19 14:20:51 WARNING[4045]: acl.c:306 ast_ouraddrfor: Cannot create
socket
Apr 19 14:20:51 WARNING[4045]: channel.c:562 ast_channel_alloc: Channel
allocation failed: Can't create alert pipe!
Apr 19 14:20:51 WARNING[4045]: chan_sip.c:2748 sip_new: Unable to
allocate SIP channel structure
Apr 19 14:20:51 NOTICE[4045]: app_dial.c:1029 dial_exec_full: Unable to
create channel of type 'SIP' (cause 0 - Unknown)
Apr 19 14:20:51 WARNING[4065]: rtp.c:911 ast_rtcp_new: Unable to
allocate socket: Too many open files
Apr 19 14:20:51 WARNING[4065]: acl.c:306 ast_ouraddrfor: Cannot create
socket

I have set "fs.file-max = 65535"in /etc/sysctl.conf and in
/etc/security/limit.conf (according to the wiki):

asterisk soft nofile 65535
asterisk hard nofile 65535

What more can I do to increase the number of open files? 
Is it possible to see how many files asterisk uses and how many files it
needs?

Thanks for your help,

Stefan

-- 

********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
          Schulungen  Installationen  
            Beratung  Support
           Voice-over-IP-Lösungen
********************************************            

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to