From 87eb553b4af87767ed098e9412edca961096ecebf315475d39f8d729b332e82a Mon Sep 17 00:00:00 2001 From: David Anes Date: Thu, 13 Jan 2022 14:19:25 +0000 Subject: [PATCH] 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 --- apache2-server-tuning.conf | 20 ++++++++++---------- apache2.changes | 9 +++++++++ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/apache2-server-tuning.conf b/apache2-server-tuning.conf index 42fa8db..b0a7be0 100644 --- a/apache2-server-tuning.conf +++ b/apache2-server-tuning.conf @@ -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 # 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 # 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 diff --git a/apache2.changes b/apache2.changes index 7f4e753..35d1a70 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jan 11 12:05:55 UTC 2022 - David Anes + +- 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