Re: Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Mon, Apr 26, 2021 at 9:53 AM Norbert Elbanbuena <norbert@xxxxxxxxxxxxxx> wrote:
Hi,

I attempted to tune Apache's configuration, and used below settings:

<IfModule mpm_event_module>
ThreadsPerChild 64
MaxRequestWorkers 1600
MinSpareThreads 800
MaxSpareThreads 1600
ServerLimit 25
MaxConnectionsPerChild 0
</IfModule>

But checking /server-status I only see Max workers up to 1152



Server uptime: 11 hours 20 minutes 35 seconds
Server load: 0.15 0.15 0.21
Total accesses: 57926 - Total Traffic: 279.6 MB - Total Duration: 50642985
CPU Usage: u35.7 s29.44 cu0 cs0 - .16% CPU load
1.42 requests/sec - 7.0 kB/second - 5060 B/request - 874.27 ms/request
130 requests currently being processed, 1022 idle workers

I think this is showing you that there are currently 16 64-thread processes.  The numbers might not be perfectly round because the server is not frozen while mod_status iterates over everything.
Apache will spin up a 17th process when there are less than 800 idle threads. 




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux