NGINX setrlimit issue
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am using NGINX webserver on CentOS to check performance.
I am seeing the following entries in the error.log file whenever I restart the NGINX service.
2018/11/05 12:04:25 [alert] 16395#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
2018/11/05 12:04:25 [alert] 16392#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
I followed this article but that didn't fix the issue
https://ospi.fi/blog/centos-7-raise-nofile-limit-for-nginx.html
NGINX Proc has the following limit
Limit Soft Limit Hard Limit Units
Max open files 95536 95536 files
Any ideas for fixing this issue?
linux centos nginx webserver
New contributor
add a comment |
up vote
0
down vote
favorite
I am using NGINX webserver on CentOS to check performance.
I am seeing the following entries in the error.log file whenever I restart the NGINX service.
2018/11/05 12:04:25 [alert] 16395#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
2018/11/05 12:04:25 [alert] 16392#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
I followed this article but that didn't fix the issue
https://ospi.fi/blog/centos-7-raise-nofile-limit-for-nginx.html
NGINX Proc has the following limit
Limit Soft Limit Hard Limit Units
Max open files 95536 95536 files
Any ideas for fixing this issue?
linux centos nginx webserver
New contributor
maybe an SELinux issue. Have you tried setsetsebool -P httpd_setrlimit 1
– Michael D.
9 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using NGINX webserver on CentOS to check performance.
I am seeing the following entries in the error.log file whenever I restart the NGINX service.
2018/11/05 12:04:25 [alert] 16395#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
2018/11/05 12:04:25 [alert] 16392#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
I followed this article but that didn't fix the issue
https://ospi.fi/blog/centos-7-raise-nofile-limit-for-nginx.html
NGINX Proc has the following limit
Limit Soft Limit Hard Limit Units
Max open files 95536 95536 files
Any ideas for fixing this issue?
linux centos nginx webserver
New contributor
I am using NGINX webserver on CentOS to check performance.
I am seeing the following entries in the error.log file whenever I restart the NGINX service.
2018/11/05 12:04:25 [alert] 16395#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
2018/11/05 12:04:25 [alert] 16392#0: setrlimit(RLIMIT_NOFILE, 65535) failed (13: Permission denied)
I followed this article but that didn't fix the issue
https://ospi.fi/blog/centos-7-raise-nofile-limit-for-nginx.html
NGINX Proc has the following limit
Limit Soft Limit Hard Limit Units
Max open files 95536 95536 files
Any ideas for fixing this issue?
linux centos nginx webserver
linux centos nginx webserver
New contributor
New contributor
edited 8 hours ago
Michael D.
1,524716
1,524716
New contributor
asked 11 hours ago
user8564890
1
1
New contributor
New contributor
maybe an SELinux issue. Have you tried setsetsebool -P httpd_setrlimit 1
– Michael D.
9 hours ago
add a comment |
maybe an SELinux issue. Have you tried setsetsebool -P httpd_setrlimit 1
– Michael D.
9 hours ago
maybe an SELinux issue. Have you tried set
setsebool -P httpd_setrlimit 1
– Michael D.
9 hours ago
maybe an SELinux issue. Have you tried set
setsebool -P httpd_setrlimit 1
– Michael D.
9 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
user8564890 is a new contributor. Be nice, and check out our Code of Conduct.
user8564890 is a new contributor. Be nice, and check out our Code of Conduct.
user8564890 is a new contributor. Be nice, and check out our Code of Conduct.
user8564890 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481258%2fnginx-setrlimit-issue%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
maybe an SELinux issue. Have you tried set
setsebool -P httpd_setrlimit 1
– Michael D.
9 hours ago