[OpenSIPS-Users] REG::failed to accept connection(24):Too many open file

Ravitez Ravi ravitez.dondeti at gmail.com
Thu Mar 17 21:36:52 CET 2016


Hi All,
        I see the following error "failed to accept connection(24):Too many
open file"  when there are multiple devices trying to establish connection
with opensips server .
        it would be great if you could share your thoughts.

*Version :1.11.5*

*Process Limits :*
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            10485760             unlimited            bytes
Max core file size        unlimited            unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             257434               257434
processes
*Max open files            16384                16384                files*
Max locked memory         65536                65536                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       257434               257434               signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0

*Configuration :*
tcp_children=8
tcp_max_connections=4096
tcp_accept_aliases=no
tcp_connect_timeout=2000
tcp_connection_lifetime=43200
tcp_keepalive=1
tcp_async=1

-M 16
-m 256

*Logs :*
[26453]: ERROR:core:handle_new_connect: failed to accept connection(24):
Too many open file
[26440]: ERROR:core:tcpconn_new: shared memory allocation failure


Regards,
Ravitez.D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160317/968eef51/attachment.htm>


More information about the Users mailing list