This is the default example configuration of mpm_worker.conf provided by Apache. This config file was generated by Apache running on Ubuntu 20.04.
It is located under: /etc/apache2/mods-available/mpm_worker.conf
# 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
Download the raw file with wget or curl
wget -O mpm_worker.conf.example http://exampleconfig.com/static/raw/apache/ubuntu20.04/etc/apache2/mods-available/mpm_worker.conf
curl http://exampleconfig.com/static/raw/apache/ubuntu20.04/etc/apache2/mods-available/mpm_worker.conf > mpm_worker.conf.example
Other config files you might find useful