httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin de Haan <robin.deh...@gmail.com>
Subject [users@httpd] Apache 2.4 optimisation for a virtual server with low resources.
Date Mon, 11 Aug 2014 22:42:49 GMT
Hi,

I'm a web designer setting up a server for the first time using a very
light Linode package with 1GB RAM and 1 CPU. It will host a Drupal site
that gets low traffic. It's running Ubuntu 14.04 and Apache 2.4.7.

I'm following their set up guide here:
https://www.linode.com/docs/websites/hosting-a-website/ which suggests
editing apache2.conf with the following:

<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 6
MaxSpareServers 12
MaxClients 80
MaxRequestsPerChild 3000
</IfModule>

When I couldn't find anything like that code in the .conf file I checked
with Linode support and was told that, from Apache 2.4 "This section is
built-in now and not included in the apache2.conf" but when I asked how
then to optimize Apache for a light server a different support person got
back to me and said I could just add that code to the end of the .conf file.

I'm posting here hoping a specialist can clear this up or advise an
alternative way to optimise Apache for this kind of server.

Thanks,
Robin

Mime
View raw message