Too many open files
From Kolmisoft Wiki
Jump to navigationJump to search
If you see this error in Asterisk CLI and it makes Asterisk to crash, solution is following:
Add lines:
* hard nofile 65536 * soft nofile 65536 root hard nofile 65536 root soft nofile 65536
to /etc/security/limits.conf
Those changes would be applied after reboot.
To avoid reboot we can apply values by using command:
ulimit -n 65536