Top Nav

Plesk / Nginx Open Files Limit

Was trying to increase open files limit for nginx on a Plesk server following instructions here:

MariaDB on CentOS 7 – “Error in accept: Too many open files”

But the limit was not changing. After digging around I found that Plesk was overriding with a config file here:

As described here:

https://support.plesk.com/hc/en-us/articles/213938485-nginx-fails-to-start-reload-on-a-Plesk-server-Too-many-open-files

the easy way to fix open file limit on Plesk is to use: