We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to quickly find out which configuration file determines MaxRequestWorkers value?
-
- Posts: 301
- Joined: Tue Dec 22, 2015 2:06 pm
How to quickly find out which configuration file determines MaxRequestWorkers value?
When I check my Apache log I saw following records:
But in the file /etc/apache2/apache2.conf, I saw different values configured:
I noticed that this apache2.conf file will use many other .conf files by "Include" method. So how can I quickly find out which file has overridden the main apache2.conf settings?
Thank you.
Code: Select all
root@mail:/var/log/apache2# tail error.log
[Wed Apr 26 16:18:42.858872 2017] [mpm_prefork:warn] [pid 4095] AH00181: MaxRequestWorkers of 300 exceeds ServerLimit value of 256, decreasing to match
There is no number "300" or "256". So I have no idea which configuration file determines MaxRequestWorkers value?<IfModule mpm_prefork_module>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 400
MaxClients 200
MaxRequestsPerChild 4000
</IfModule>
I noticed that this apache2.conf file will use many other .conf files by "Include" method. So how can I quickly find out which file has overridden the main apache2.conf settings?
Thank you.