Nginx can not use more than 1024 log?

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


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


Posted at Nginx Forum:,267940,267949#msg-267949

More information about the nginx mailing list