mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Be more conservative on the number of fast-cgi processes
This commit is contained in:
parent
8d0abf6b39
commit
dfd7754336
@ -176,19 +176,19 @@ EOD;
|
||||
$procs = 1;
|
||||
$use_fastcgi = false;
|
||||
} else if($avail > 64 and $avail < 128) {
|
||||
$procs = 5;
|
||||
$procs = 2;
|
||||
} else if($avail > 128 and $avail < 164) {
|
||||
$procs = 15;
|
||||
$procs = 3;
|
||||
} else if($avail > 164 and $avail < 256) {
|
||||
$procs = 20;
|
||||
$procs = 4;
|
||||
} else if($avail > 256 and $avail < 384) {
|
||||
$procs = 25;
|
||||
$procs = 5;
|
||||
} else if($avail > 384 and $avail < 512) {
|
||||
$procs = 30;
|
||||
$procs = 6;
|
||||
} else if($avail > 512 and $avail < 684) {
|
||||
$procs = 40;
|
||||
$procs = 7;
|
||||
} else {
|
||||
$procs = 50;
|
||||
$procs = 8;
|
||||
}
|
||||
|
||||
/* generate lighttpd configuration */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user