Incerease Apache ulimit value on CentOS 7 / Cloudlinux 7 / Almalinux 7
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-to-default