mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Set max procs to 1 when ram < 65 megs
* Set max requests to 1 when ram < 65 megs
This commit is contained in:
parent
6d47a15701
commit
f994f4d6b9
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user