User Tools

Site Tools


apache_configuration

Warning: Undefined variable $html in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 240

Warning: Undefined array key "page" in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 265

Warning: Undefined array key "page" in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 268

Apache Configuration

  • CentOS
  • ubuntu - Page not found.

Configuration File:

Apache 2.4 Pre-fork configuration



The default location for the settings in apache 2.4 are: /etc/httpd/conf.modules.d/00-mpm.conf

<IfModule mpm_prefork_module>
    StartServers             5
    MinSpareServers          5
    MaxSpareServers         10
    ServerLimit             25
    MaxRequestWorkers       25
    MaxConnectionsPerChild   0
</IfModule>
Note: If ServerLimit is lower then MaxRequestWorkers then you will get the following error:

[root@apache ~]# httpd -t
AH00180: WARNING: MaxRequestWorkers of 500 exceeds ServerLimit value of
 256 servers, decreasing MaxRequestWorkers to 256.
 To increase, please see the ServerLimit directive.
Syntax OK

apache_configuration.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki