* Set max procs to 1 when ram < 65 megs

* Set max requests to 1 when ram < 65 megs
This commit is contained in:
Scott Ullrich 2006-01-06 23:47:09 +00:00
parent 6d47a15701
commit f994f4d6b9

View File

@ -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) {