From 8bbc4b50b81a540153d980fc6eb965169cf43167 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 13 Apr 2014 22:48:03 +0100 Subject: [PATCH] Apache tweaking --- beaglebone.txt | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/beaglebone.txt b/beaglebone.txt index d63ca99f..f2d52aee 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -2064,14 +2064,17 @@ emacs /etc/apache2/apache2.conf Search for MaxClients and replace the value with 6. As an example the settings should look something like this: #+BEGIN_SRC: bash +KeepAliveTimeout 2 Timeout 150 - StartServers 3 - MinSpareServers 3 - MaxSpareServers 5 - MaxClients 6 - MaxRequestsPerChild 0 + StartServers 1 + MinSpareServers 1 + MaxSpareServers 5 + ServerLimit 16 + MaxClients 16 + MaxRequestsPerChild 0 + ListenBacklog 100 @@ -2080,7 +2083,7 @@ Timeout 150 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 - MaxClients 6 + MaxClients 16 MaxRequestsPerChild 0 @@ -2090,7 +2093,7 @@ Timeout 150 MaxSpareThreads 75 ThreadLimit 64 ThreadsPerChild 25 - MaxClients 6 + MaxClients 16 MaxRequestsPerChild 0 #+END_SRC @@ -6544,7 +6547,7 @@ Edit your Apache configuration file. emacs /etc/apache2/sites-available/$HOSTNAME #+END_SRC -Add the following to the section which starts with +Add the following to the section which starts with ** #+BEGIN_SRC: bash SSLCertificateChainFile /etc/ssl/chains/startssl-sub.class1.server.ca.pem