Centos Monit ulimit not working

Solution 1:

I needed to set ulimit -n 500000 in the init file.