From 66438b4a3bb2f0c100682ca3603d9f8e6ef00a15 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 19 Apr 2014 08:36:01 +0100 Subject: [PATCH] These Apache settings actually seem to work (i.e. avoid oom-killer killing mysqld) --- beaglebone.txt | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/beaglebone.txt b/beaglebone.txt index 931c38de..507d054c 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -2045,35 +2045,35 @@ Search for MaxClients and replace the value with 6. As an example the settings s #+BEGIN_SRC: bash Timeout 30 KeepAlive On -MaxKeepAliveRequests 50 -KeepAliveTimeout 10 +MaxKeepAliveRequests 5 +KeepAliveTimeout 1 - StartServers 3 - MinSpareServers 2 - MaxSpareServers 5 - MaxClients 10 - MaxRequestsPerChild 1000 + StartServers 5 + MinSpareServers 5 + MaxSpareServers 10 + MaxClients 10 + MaxRequestsPerChild 10 - StartServers 2 - MinSpareThreads 25 - MaxSpareThreads 75 - ThreadLimit 64 - ThreadsPerChild 25 - MaxClients 10 - MaxRequestsPerChild 0 + StartServers 2 + MinSpareThreads 5 + MaxSpareThreads 5 + ThreadLimit 6 + ThreadsPerChild 10 + MaxClients 10 + MaxRequestsPerChild 10 - StartServers 2 - MinSpareThreads 25 - MaxSpareThreads 75 - ThreadLimit 64 - ThreadsPerChild 25 - MaxClients 10 - MaxRequestsPerChild 0 + StartServers 2 + MinSpareThreads 5 + MaxSpareThreads 5 + ThreadLimit 6 + ThreadsPerChild 10 + MaxClients 10 + MaxRequestsPerChild 10 #+END_SRC