summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 9217bd5..38837e1 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -598,7 +598,11 @@ function system_generate_lighty_config($filename,
$memory = get_memory();
$avail = $memory[0];
- if($avail > 0 and $avail < 98) {
+ if($avail > 0 and $avail < 65) {
+ $fast_cgi_enable = false;
+ }
+
+ if($avail > 65 and $avail < 98) {
$max_procs = 1;
$max_requests = 1;
}
OpenPOWER on IntegriCloud