From a7906406ecd52a1156f0f182b92a72be648f87b3 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Tue, 1 Oct 2019 00:31:19 +0000 Subject: user/apache-httpd: enable dynamic mpm modules --- user/apache-httpd/conf/httpd.conf | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'user/apache-httpd/conf') diff --git a/user/apache-httpd/conf/httpd.conf b/user/apache-httpd/conf/httpd.conf index 7fe8adfdf..bada89139 100644 --- a/user/apache-httpd/conf/httpd.conf +++ b/user/apache-httpd/conf/httpd.conf @@ -11,6 +11,14 @@ ServerTokens Prod # What IP/port to listen on. By default, listens to port 80 on all IPs. Listen 80 +# Only ONE of the following modules should be uncommented to select the +# Multi-Processing Module that Apache should use to handle connections. +# Read More: https://httpd.apache.org/docs/2.4/mpm.html +# Adélie Linux enables mpm_event by default, as it performs better +# than mpm_prefork for most use cases. +LoadModule mpm_event_module /usr/libexec/apache2/mod_mpm_event.so +#LoadModule mpm_prefork_module /usr/libexec/apache2/mod_mpm_prefork.so + # The rest of these modules are required for basic operations. LoadModule log_config_module /usr/libexec/apache2/mod_log_config.so LoadModule mime_module /usr/libexec/apache2/mod_mime.so -- cgit v1.2.3-70-g09d2