Initial Import
This commit is contained in:
33
DOC/README.apache_mpm_event
Normal file
33
DOC/README.apache_mpm_event
Normal file
@ -0,0 +1,33 @@
|
||||
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
|
Reference in New Issue
Block a user