safe_asterisk: line 88: ulimit:

Hello All,

I am running Asterisk 10.1.2 on Centos 5.7 x64.

I have added lines as below in my /etc/security/limits.conf :

root soft nofile 4096
root hard nofile 8196
asterisk soft nofile 4096
asterisk hard nofile 8196

but why I still get below warning when I call /etc/rc.d/init.d/asterisk start

[root@sip security]# /etc/rc.d/init.d/asterisk start
Starting asterisk: /usr/sbin/safe_asterisk: line 88: ulimit: open files: cannot modify limit: Operation not permitted
[ OK ]
[root@sip security]#

could anybody please help?

Thanks & Regards
Winanjaya

hmmm,
any body has experienced on this?

please help

Thanks