How to check the MaxRequestWorkers value being actively in use

Is there a place in the UI where I can see the settings for MaxRequestWorkers being used for apache?

I set it up editing the /etc/httpd/conf.modules.d/00-mpn.conf file directly and then restarting httpd:

<IfModule mpm_event_module>
    ServerLimit             16
    StartServers            3
    ThreadLimit             128
    ThreadsPerChild         64
    MinSpareThreads         75
    MaxSpareThreads         250
    MaxRequestWorkers       1024
    MaxConnectionsPerChild  10000
</IfModule>

but I want to make sure the value is being used, because when I see the status for httpd, it seems the number does not match what I set.

Active: active (running) since Thu 2025-02-20 13:36:38 UTC; 13min ago
       Docs: man:httpd.service(8)
   Main PID: 379587 (httpd)
     Status: "Total requests: 193; Idle/Busy workers 100/0;Requests/sec: 0.242; Bytes served/sec:  12KB/sec"

Looks like it has a max of 100 (0 in use 100 idle).

@alvarofranz,

What is the issue that you are ultimately trying to solve?

1 Like

I get same result, maybe that not a max value (the 100).

1 Like

Ultimately I just want peace of mind that MaxRequestWorkers won’t be reached easily, causing my sites to time out. It has happened a couple times recently. The fact that I see it being 100 worries me.

Thanks, then maybe this 100 is something else. I still wonder though, if there is a way to double check that the setting is being applied.

This post lead me to posting below, I thought it may show the MaxRequestWorker but it didn’t. Maybe a good way to check if things are getting overloaded.