Difference between revisions of "Too many open files"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '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…')
(No difference)

Revision as of 05:58, 18 April 2013

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