Tag Archives: limits

How to change max open files for nginx server on Ubuntu

The following error occurred a lot in /var/log/nginx/error.log: Too many open files This means that the nginx master process reached the maximum number of open files which was set to the default of 4096. (To check it, simply cat /proc/pid/limits, … Continue reading

Posted in Linux, Ubuntu | Tagged , , , , , | Leave a comment