[Freeswitch-users] Socket Error [Too many open files]

Caio Assis caioebassis at hotmail.com
Tue Dec 6 17:44:29 MSK 2016


Good afternoon.


Freeswitch info:

Freeswitch version: Version 1.6.12  64bit
O.S: Centos 7
Processor: Xeon Six Core
RAM: 8GB
Disk: SSD samsung 850 pro

I've been facing a problem with freeswitch.
When I generate many calls (around 300 calls), Freeswitch service stops receiving socket connection after this error:

[ERR] mod_event_socket.c:3017 Error initilizing connection
[CRIT] mod_event_socket.c:235 Stateful Listener 0 has expired
[ERR] mod_event_socket.c:2975 Socket Error [Too many open files]


I set the configuration below, but the problem persists and I have to restart the service to get it back up.

ulimit -c unlimited # The maximum size of core files created.
ulimit -d unlimited # The maximum size of a process's data segment.
ulimit -f unlimited # The maximum size of files created by the shell (default option)
ulimit -i unlimited # The maximum number of pending signals
ulimit -n 999999    # The maximum number of open file descriptors.
ulimit -q unlimited # The maximum POSIX message queue size
ulimit -u unlimited # The maximum number of processes available to a single user.
ulimit -v unlimited # The maximum amount of virtual memory available to the process.
ulimit -x unlimited # ???
ulimit -s 240         # The maximum stack size
ulimit -l unlimited # The maximum size that may be locked into memory.
ulimit -a           # All current limits are reported.


I can't execute any freeswitch command, fs_cli -x "show calls", fs_cli -r, they all return that socket error.


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161206/a799925e/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list