Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

How to quickly find out which configuration file determines MaxRequestWorkers value?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
baijianpeng
Posts: 301
Joined: Tue Dec 22, 2015 2:06 pm

How to quickly find out which configuration file determines MaxRequestWorkers value?
  • Quote

Post by baijianpeng » Thu Apr 27, 2017 9:26 am

When I check my Apache log I saw following records:

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
But in the file /etc/apache2/apache2.conf, I saw different values configured:
<IfModule mpm_prefork_module>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 400
MaxClients 200
MaxRequestsPerChild 4000
</IfModule>
There is no number "300" or "256". So I have no idea which configuration file determines MaxRequestWorkers value?

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.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password