aboutsummaryrefslogtreecommitdiff
path: root/www/server-config/apache2/mods-available/mpm_worker.conf
diff options
context:
space:
mode:
authorclyhtsuriva <clyhtsuriva@gmail.com>2020-05-07 08:47:04 +0200
committerclyhtsuriva <clyhtsuriva@gmail.com>2020-05-07 08:47:04 +0200
commitfdf19b48fdb7a022b8f0d6f490bf07b9a1d3bc7a (patch)
treef5e1aacf477d4116d0c96159e476a8f423636263 /www/server-config/apache2/mods-available/mpm_worker.conf
parent1b9db81514c6ad7c0cfd2952edc7d42f1e28e18b (diff)
ajout de SSL
Diffstat (limited to 'www/server-config/apache2/mods-available/mpm_worker.conf')
-rw-r--r--www/server-config/apache2/mods-available/mpm_worker.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/server-config/apache2/mods-available/mpm_worker.conf b/www/server-config/apache2/mods-available/mpm_worker.conf
new file mode 100644
index 0000000..de5831e
--- /dev/null
+++ b/www/server-config/apache2/mods-available/mpm_worker.conf
@@ -0,0 +1,22 @@
+# worker MPM
+# StartServers: initial number of server processes to start
+# MinSpareThreads: minimum number of worker threads which are kept spare
+# MaxSpareThreads: maximum number of worker threads which are kept spare
+# ThreadLimit: ThreadsPerChild can be changed to this maximum value during a
+# graceful restart. ThreadLimit can only be changed by stopping
+# and starting Apache.
+# ThreadsPerChild: constant number of worker threads in each server process
+# MaxRequestWorkers: maximum number of threads
+# MaxConnectionsPerChild: maximum number of requests a server process serves
+
+<IfModule mpm_worker_module>
+ StartServers 2
+ MinSpareThreads 25
+ MaxSpareThreads 75
+ ThreadLimit 64
+ ThreadsPerChild 25
+ MaxRequestWorkers 150
+ MaxConnectionsPerChild 0
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet