Open the /etc/httpd/bin/apachectl file, and find the ulimit value, put the wanted value, then save the file.
Next type the following commands:
killall -9 httpd httpd restart
Note: https://serverfault.com/questions/162817/cpanel-ulimit-n-keeps-resetting...