nginx uLimit 'worker_connections exceed open file resource limit: 1024'
Solution 1:
Set worker_rlimit_nofile 65535;
in nginx.conf within the main context.
Solution 2:
Become the user:
su - nginx
Check the limits:
ulimit -Hn
ulimit -Sn
Edit the number of files the file system will let you have open:
vi /etc/sysctl.conf
fs.file-max = 70000
load your changes:
sysctl -p
See if that helps.