apache2/DOC/README.apache_mpm_event
2017-02-19 12:33:53 +01:00

34 lines
855 B
Plaintext

Apache 2.4 default values MPM event
===================================
<IfModule mpm_event_module>
StartServers 3
MinSpareThreads 75
MaxSpareThreads 250
ThreadsPerChild 25
MaxRequestWorkers 400
MaxConnectionsPerChild 0
</IfModule>
ServerLimit = MaxRequestWorkers / ThreadsPerChild
MaxRequestWorkers = 400
ThreadsPerChild = 25
=> ServerLimit = 16 (apache 2.4 default)
simultanous connections = ThreadsPerChild * ServerLimit = MaxRequestWorkers
=> simultanous Connection = 400
(ND Server)
==========
## - MaxConnectionsPerChild
## -
## - We want every httpd prozess to restart aproximately once a day
## -
Set MaxConnectionsPerChild = (requests/per day)/ServerLimit
requests / day ~ 1.600.000
/ServerLimit = 16
=> MaxConnectionsPerChild = 1600000/16 = 100000 = 100.000