From 0befcf8746d3625219257ef04954cf592f68b26a1060fa199cf3b5cb39425840 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 15 Nov 2021 08:27:53 +0000 Subject: [PATCH] Accepting request 931327 from home:adkorte:branches:Apache - add section for the 'event' MPM to apache2-server-tuning.conf OBS-URL: https://build.opensuse.org/request/show/931327 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=658 --- apache2-server-tuning.conf | 28 ++++++++++++++++++++++++++++ apache2.changes | 6 +++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/apache2-server-tuning.conf b/apache2-server-tuning.conf index a65e0c6..42fa8db 100644 --- a/apache2-server-tuning.conf +++ b/apache2-server-tuning.conf @@ -54,6 +54,34 @@ MaxRequestsPerChild 10000 +# event MPM + + # initial number of server processes to start + # https://httpd.apache.org/docs/2.4/mod/mpm_common.html#startservers + StartServers 3 + # minimum number of worker threads which are kept spare + # https://httpd.apache.org/docs/2.4/mod/mpm_common.html#minsparethreads + MinSpareThreads 25 + # maximum number of worker threads which are kept spare + # https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxsparethreads + MaxSpareThreads 75 + # upper limit on the configurable number of threads per child process + # https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadlimit + ThreadLimit 64 + # maximum number of simultaneous client connections (formerly MaxClients) + # https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers + MaxRequestWorkers 150 + # 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 + # limit concurrent connections per process + # https://httpd.apache.org/docs/2.4/mod/event.html#asyncrequestworkerfactor + AsyncRequestWorkerFactor 2 + + # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. diff --git a/apache2.changes b/apache2.changes index 2a2e1bf..694144f 100644 --- a/apache2.changes +++ b/apache2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 14 10:21:09 UTC 2021 - Arjen de Korte + +- add section for the 'event' MPM to apache2-server-tuning.conf + ------------------------------------------------------------------- Thu Oct 7 17:30:44 UTC 2021 - Michael Ströder @@ -8,7 +13,6 @@ Thu Oct 7 17:30:44 UTC 2021 - Michael Ströder *) core: Add ap_unescape_url_ex() for better decoding control, and deprecate unused AP_NORMALIZE_DROP_PARAMETERS flag. - ------------------------------------------------------------------- Mon Oct 4 15:23:51 UTC 2021 - Michael Ströder