April 28, 2019

Nginx: Too Many Open Files Error And Solution

Recently when I check on one of my website, which frequently getting the error 500 when number of user start to increase. Check out the Nginx log and found the following error: 2019/04/26 13:24:16 [crit] 21974#0: *3188937 open() “/usr/local/nginx/html/50x.html” failed (24: Too many open files), client: , request: “GET /file/images/background.jpg…, pub-3772983857049267, DIRECT, f08c47fec0942fa0