Hi,

What does a 'cat /proc/PID/limits' (replace PID with the NGINX PID number)
show you ?

The limits.conf file does not apply to systemd services.
Edit the file /lib/systemd/system/nginx.service and within the '[Service]'
section the following: LimitNOFILE=65536
After that run: systemctl daemon-reload && systemctl restart nginx

Wesley

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,267940,267949#msg-267949

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to