ulimit: open files: cannot modify limit: Operation not permitted
Dear All,
I build asterisk 1.8 on Centos 5.5 x64 .. I am facing with warning below when starting the asterisk: Starting asterisk: /usr/sbin/safe_asterisk: line 86: ulimit: open files: cannot modify limit: Operation not permitted I have googled and found someone explains that it's an OS problem.. could anybody please advise, what should I do? many thanks in advance Regards Winanjaya |
Edit /etc/security/limits.conf file and allow the user under which asterisk runs to modify the ulimit to a higher value.
Quote:
|
asterisk hard nofile ??
what number should I put there? |
Well, it depends upon what your application is trying to set. Basically this is the max number upto which the user can set the ulimit value to. Check the current ulimit by executing the following command after logging in as the specific user. Start with 3 or 4 times the current value and increase if needed.
Quote:
|
All times are GMT -5. The time now is 02:53 AM. |