From f994f4d6b9ea414d206ba4571d01ccf608ee6ce4 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 6 Jan 2006 23:47:09 +0000 Subject: [PATCH] * Set max procs to 1 when ram < 65 megs * Set max requests to 1 when ram < 65 megs --- etc/inc/system.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 7aa13a51cb..fdf11ca4cd 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -564,7 +564,8 @@ function system_generate_lighty_config($filename, $avail = $memory[0]; if($avail > 0 and $avail < 65) { - $fast_cgi_enable = false; + $max_procs = 1; + $max_requests = 1; } if($fast_cgi_enable == true) {