Re: How do I choose the best settings for the Apache Server?

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

 





El vie, 15 sept 2023 a las 12:38, Mike Dewhirst (<miked@xxxxxxxxxxxxxxx>) escribió:

# After reading https://www.liquidweb.com/kb/apache-performance-tuning-apache-mpm-modules/
<IfModule mpm_event_module>
        ServerLimit                     32
        StartServers                    16
        MinSpareThreads                 400
#        MaxSpareThreads                 250 increase == MaxRequestWorkers dferradal@xxxxxxxxxx
        MaxSpareThreads                 800
        ThreadLimit                     64
        ThreadsPerChild                 50
        AsyncRequestWorkerFactor        2
        MaxRequestWorkers               800
        MaxConnectionsPerChild          0
</IfModule>




When I probably recommended  MaxSpareThreads == to MaxRequestWorkers was due to Apache httpd with third party modules not restarting gracefully, that along to MaxConnectionsPerChild 0 would prevent HTTPD from trying to restart them.

Where did you get this?

Also I keep wondering why people assign so many processes, StartServers 16? In a threaded mpm?

Why not just assign just 2 or even 4, and assign 100, 200 worker threads each?

--
Daniel Ferradal
HTTPD Project
#httpd help at Libera.Chat

[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