Too many open files

From Kolmisoft Wiki
Revision as of 12:26, 18 September 2013 by Nerijuss (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

If you see this error in Asterisk CLI or logs and it makes Asterisk to crash, solution is following.

Replace the line in /usr/sbin/safe_asterisk :

...
ulimit -n $MAXFILES
...

with line

...
ulimit -n 131072
...

and restart Asterisk.