Rocky 9.x Configure apache web server for concurrency

From Notes_Wiki
Revision as of 05:38, 15 October 2022 by Saurabh (talk | contribs) (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Apache > Configure for concurrency Concurrency is handled via mpm module. There are different types of mpm modules out of which only one can be used at a time. We can see currently enabled mpm module via: <pre> httpd -V | grep -i mpm </pre> We can see whic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Apache > Configure for concurrency

Concurrency is handled via mpm module. There are different types of mpm modules out of which only one can be used at a time. We can see currently enabled mpm module via:

httpd -V | grep -i mpm

We can see which line is uncommented in '/etc/httpd/conf.modules.d/00-mpm.conf' to validate which mpm module is enabled.

To configure the enabled mpm module use something similar to below in '/etc/httpd/conf.modules.d/10-mpm-event.conf':

<IfModule mpm_event_module>
    ServerLimit             250
    StartServers             10
    MinSpareThreads          75
    MaxSpareThreads         250
    ThreadLimit              64
    ThreadsPerChild          32
    MaxClients             8000
    MaxRequestsPerChild   10000
</IfModule>


Refer:


Home > Rocky Linux or CentOS > Rocky Linux 9.x > Web Servers > Apache > Configure for concurrency