Apache mpm_worker.conf configuration example for Debian GNU/Linux 11 (bullseye)

Get the default configuration file mpm_worker.conf for Apache, optimized for Debian GNU/Linux 11 (bullseye). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.

Find and download the configuration file here: /etc/apache2/mods-available/mpm_worker.conf.

For more configurations and setup guides, visit our related files section to further customize your system.

    # 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

    
  

Config Details

Location
/etc/apache2/mods-available/mpm_worker.conf
Operating system
Debian GNU/Linux 11 (bullseye)
Length
22 lines
MD5 checksum
2673a5a3f030bfb704bee034ce3a183c

Usage

Download the raw file with wget or curl

Wget

wget -O mpm_worker.conf.example https://exampleconfig.com/static/raw/apache/debian11/etc/apache2/mods-available/mpm_worker.conf

cURL

curl https://exampleconfig.com/static/raw/apache/debian11/etc/apache2/mods-available/mpm_worker.conf > mpm_worker.conf.example