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.
I was looking at apache docs and found this
https://httpd.apache.org/docs/2.4/mod/mod_status.html
Trying to add the code to the my main domain did not work, instead of Require host did use Require IP, that of my pc.
Location "/server-status">
SetHandler server-status
Require ip xxx.xxx.xxx.xxx
</Location>
Reading some forum I found out the the .htaccess was causing the issue as it had a worpress app installed.
So just added this line to the .htaccess fixed it RewriteCond %{REQUEST_URI} !…
system
Closed
April 22, 2025, 9:56am
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.