From 6c8578681d9756f9e171f56e3d95e702d2540ab2 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Fri, 10 Dec 2021 01:46:55 -0500 Subject: [doc] SELinux: setsebool -P httpd_setrlimit on document setrlimit() under SELinux may need one-time setup setsebool -P httpd_setrlimit on --- doc/config/lighttpd.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/config') diff --git a/doc/config/lighttpd.conf b/doc/config/lighttpd.conf index 495d2a18..2d3f2db2 100644 --- a/doc/config/lighttpd.conf +++ b/doc/config/lighttpd.conf @@ -208,6 +208,9 @@ include conf_dir + "/conf.d/debug.conf" ## By default lighttpd would not change the operation system default. ## But setting it to 16384 is a better default for busy servers. ## +## With SELinux enabled, this is denied by default and needs to be allowed +## by running the following once: setsebool -P httpd_setrlimit on +## server.max-fds = 16384 ## -- cgit v1.2.1