magenx / Magento-nginx-config

Default Nginx config for Magento 2
https://www.magenx.com
GNU General Public License v3.0
506 stars 211 forks source link

setrlimit #19

Closed ghost closed 7 years ago

ghost commented 7 years ago

get the following error in nginx error.log running SELinux enforcing

setrlimit(RLIMIT_NOFILE, 100000) failed (1: Operation not permitted)

ghost commented 7 years ago

nevermind I think I found problem. For SYSLinux enforcing you need this:

setsebool -P httpd_setrlimit 1

that should do it