Control Web Panel
WebPanel => Apache => Nginx => Topic started by: sizenet on July 26, 2019, 08:31:40 PM
-
Hello everyone;
Nginx not working;
Error log:
2019/07/26 20:58:28 [warn] 20115#20115: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/hostname-ssl.conf:8
2019/07/26 20:58:28 [emerg] 20115#20115: open() "/usr/local/apache/domlogs/ozgurfr3.ozgurfreedus.com.error.log" failed (24: Too many open files)
Can someone help me?
-
check for user in /etc/security/limits.d and increase the value for nofile
-
I'm having a similar issue.
But when i changed the files from the following
username hard nproc 40
username hard nofile 100
to
username hard nproc 500
username hard nofile 1000
I'm still having the same issue.
How can i resolve this and what else can i check / change ?
-
you probably replaced username with user nobody, this is the limit for user nobody which has the issue