Setting priority (niceness) of child processes
The NiceValue
configuration option may currently fail because capability management is incomplete.
Moving the capability management will allow to fully enable the option again. By checking for the capabilities during init (instead of during processing of each request), the set of capabilities can be fully determined once. While looking at capabilities, also check that capabilities are not inherited by child processes, such as started by httpd-scc-resolve.
When a NiceValue
lower (i.e. higher priority) than the priority of the current process has been configured, the CAP_SYS_NICE
capability is required.