I have Debian 11.2 with Apache2. I'd like to change niceness of all of my apache2 processes, or at least mod_wsgi processes, to +5. How can I do it?
Adding Nice=5
to /usr/lib/systemd/system/apache2.service
didn't change anything, probably because that only calls apachectl
. renice
seems to work, but only as a temporary measure.