Re: Nginx can not use more than 1024 log?

2016-06-29 Thread Alexandre
Hi Wesley, I can not get information because the nginx service does not start. You're right, actually have to use the file /lib/systemd/system/nginx.service. However, the file does not exist. I find this file on debian 8 : /run/systemd/generator.late/nginx.service --- [Unit]

Re: Nginx can not use more than 1024 log?

2016-06-29 Thread Sernate
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