Skip to content

Instantly share code, notes, and snippets.

@wjn
Created June 14, 2015 03:42
Show Gist options
  • Save wjn/25f3e10740a20b6cc553 to your computer and use it in GitHub Desktop.
Save wjn/25f3e10740a20b6cc553 to your computer and use it in GitHub Desktop.
Apache2 Optimization for 2GB Linode (/etc/apache2/apache2.conf)
# Make sure these settings are as follows:
KeepAlive Off
...
# for a 2 gb ram linode
<IfModule mpm_prefork_module>
StartServers 4
MinSpareServers 12
MaxSpareServers 24
MaxClients 60
MaxRequestsPerChild 6000
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment