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:
David Anes 2022-01-13 14:19:25 +00:00 committed by Git OBS Bridge
parent 2312035f9b
commit 87eb553b4a
2 changed files with 19 additions and 10 deletions

View File

@ -20,13 +20,13 @@
MaxSpareServers 10
# highest possible MaxRequestWorkers setting for the lifetime of the Apache process.
# 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)
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
MaxRequestWorkers 150
MaxRequestWorkers 256
# maximum number of requests a server process serves
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestsperchild
MaxRequestsPerChild 10000
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
MaxConnectionsPerChild 10000
</IfModule>
# worker MPM
@ -45,13 +45,13 @@
ThreadLimit 64
# maximum number of simultaneous client connections (formerly MaxClients)
# 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
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
ThreadsPerChild 25
# maximum number of requests a server process serves
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestsperchild
MaxRequestsPerChild 10000
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
MaxConnectionsPerChild 10000
</IfModule>
# event MPM
@ -70,13 +70,13 @@
ThreadLimit 64
# maximum number of simultaneous client connections (formerly MaxClients)
# 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
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
ThreadsPerChild 25
# maximum number of requests a server process serves
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestsperchild
MaxRequestsPerChild 10000
# https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
MaxConnectionsPerChild 10000
# limit concurrent connections per process
# https://httpd.apache.org/docs/2.4/mod/event.html#asyncrequestworkerfactor
AsyncRequestWorkerFactor 2

View File

@ -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>