Accepting request 945607 from home:david.anes:branches:Apache
Fix bsc#1194062 by using default upstream values for ServerLimit and MaxConnectionsPerChild OBS-URL: https://build.opensuse.org/request/show/945607 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=665
This commit is contained in:
parent
2312035f9b
commit
87eb553b4a
@ -20,13 +20,13 @@
|
|||||||
MaxSpareServers 10
|
MaxSpareServers 10
|
||||||
# highest possible MaxRequestWorkers setting for the lifetime of the Apache process.
|
# highest possible MaxRequestWorkers setting for the lifetime of the Apache process.
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#serverlimit
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#serverlimit
|
||||||
ServerLimit 150
|
ServerLimit 256
|
||||||
# maximum number of server processes allowed to start (formerly MaxClients)
|
# maximum number of server processes allowed to start (formerly MaxClients)
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
|
||||||
MaxRequestWorkers 150
|
MaxRequestWorkers 256
|
||||||
# maximum number of requests a server process serves
|
# maximum number of requests a server process serves
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestsperchild
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
|
||||||
MaxRequestsPerChild 10000
|
MaxConnectionsPerChild 10000
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# worker MPM
|
# worker MPM
|
||||||
@ -45,13 +45,13 @@
|
|||||||
ThreadLimit 64
|
ThreadLimit 64
|
||||||
# maximum number of simultaneous client connections (formerly MaxClients)
|
# maximum number of simultaneous client connections (formerly MaxClients)
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
|
||||||
MaxRequestWorkers 150
|
MaxRequestWorkers 256
|
||||||
# number of worker threads created by each child process
|
# number of worker threads created by each child process
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
|
||||||
ThreadsPerChild 25
|
ThreadsPerChild 25
|
||||||
# maximum number of requests a server process serves
|
# maximum number of requests a server process serves
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestsperchild
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
|
||||||
MaxRequestsPerChild 10000
|
MaxConnectionsPerChild 10000
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
# event MPM
|
# event MPM
|
||||||
@ -70,13 +70,13 @@
|
|||||||
ThreadLimit 64
|
ThreadLimit 64
|
||||||
# maximum number of simultaneous client connections (formerly MaxClients)
|
# maximum number of simultaneous client connections (formerly MaxClients)
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
|
||||||
MaxRequestWorkers 150
|
MaxRequestWorkers 256
|
||||||
# number of worker threads created by each child process
|
# number of worker threads created by each child process
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
|
||||||
ThreadsPerChild 25
|
ThreadsPerChild 25
|
||||||
# maximum number of requests a server process serves
|
# maximum number of requests a server process serves
|
||||||
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestsperchild
|
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
|
||||||
MaxRequestsPerChild 10000
|
MaxConnectionsPerChild 10000
|
||||||
# limit concurrent connections per process
|
# limit concurrent connections per process
|
||||||
# https://httpd.apache.org/docs/2.4/mod/event.html#asyncrequestworkerfactor
|
# https://httpd.apache.org/docs/2.4/mod/event.html#asyncrequestworkerfactor
|
||||||
AsyncRequestWorkerFactor 2
|
AsyncRequestWorkerFactor 2
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 11 12:05:55 UTC 2022 - David Anes <david.anes@suse.com>
|
||||||
|
|
||||||
|
- Align some defaults in apache2-server-tuning.conf to upstream
|
||||||
|
defaults:
|
||||||
|
* Updated MaxRequestWorkers and ServerLimit to 256. [bsc#1194062]
|
||||||
|
- The old name MaxRequestsPerChild is changed to MaxConnectionsPerChild.
|
||||||
|
* See https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 10 18:12:38 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
Mon Jan 10 18:12:38 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user