Nginx can not use more than 1024 log?

Sernate nginx-forum at forum.nginx.org
Wed Jun 29 10:21:08 UTC 2016


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



More information about the nginx mailing list