Welcome! Log In Create A New Profile

Advanced

Re: Nginx can not use more than 1024 log?

June 29, 2016 06:21AM
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
Subject Author Posted

Nginx can not use more than 1024 log?

Alexandre June 28, 2016 03:44PM

Re: Nginx can not use more than 1024 log?

Sernate June 29, 2016 06:21AM

Re: Nginx can not use more than 1024 log?

Alexandre June 29, 2016 07:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready