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…') |
|||
Line 1: | Line 1: | ||
If you see this error in Asterisk CLI and it makes Asterisk to crash, solution is following | 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. |
Latest revision as of 12:26, 18 September 2013
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.