Too many open files

From Kolmisoft Wiki
Revision as of 05:58, 18 April 2013 by Nerijuss (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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