httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo Garcia Melga <mal...@gmail.com>
Subject Re: [users@httpd] Apache 2.4 optimisation for a virtual server with low resources.
Date Mon, 11 Aug 2014 23:28:08 GMT
Robin, I haven't tested on 2.4, but done many times on 2.2 and 1.3, I would
compile it myself, just using the mods you need, and after that I would
stripe the symbols to make the binary even smaller.

Hope it helps

Regards, Pablo


On Mon, Aug 11, 2014 at 7:42 PM, Robin de Haan <robin.dehaan@gmail.com>
wrote:

> 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