Apache mpm_prefork.conf configuration example for Ubuntu 14.04 LTS (Trusty Tahr)

Get the default configuration file mpm_prefork.conf for Apache, optimized for Ubuntu 14.04 LTS (Trusty Tahr). 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_prefork.conf.

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

    # prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxRequestWorkers: maximum number of server processes allowed to start
# MaxConnectionsPerChild: maximum number of requests a server process serves

<IfModule mpm_prefork_module>
	StartServers			 5
	MinSpareServers		  5
	MaxSpareServers		 10
	MaxRequestWorkers	  150
	MaxConnectionsPerChild   0
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    
  

Config Details

Location
/etc/apache2/mods-available/mpm_prefork.conf
Operating system
Ubuntu 14.04 LTS (Trusty Tahr)
Length
16 lines
MD5 checksum
26e539a16e51c4feddd2eedc568692e6

Usage

Download the raw file with wget or curl

Wget

wget -O mpm_prefork.conf.example https://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/apache2/mods-available/mpm_prefork.conf

cURL

curl https://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/apache2/mods-available/mpm_prefork.conf > mpm_prefork.conf.example