summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfSense.org>2010-01-02 03:43:27 -0500
committerScott Ullrich <sullrich@pfSense.org>2010-01-02 03:43:27 -0500
commit4d372c9dafe9a883130c46b794a2782ccc479481 (patch)
tree42e49111256ea504ed1d04ffe4b7fed145b6f4ec
parent58f4786306b84e28d2fd0b7906793e6ac53d4816 (diff)
downloadpfsense-4d372c9dafe9a883130c46b794a2782ccc479481.zip
pfsense-4d372c9dafe9a883130c46b794a2782ccc479481.tar.gz
Boos max_procs
-rw-r--r--etc/inc/system.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index b98889d..2a613a1 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -690,7 +690,7 @@ function system_generate_lighty_config($filename,
$port = 80,
$document_root = "/usr/local/www/",
$cert_location = "cert.pem",
- $max_procs = 2,
+ $max_procs = 4,
$max_requests = "1",
$fast_cgi_enable = true,
$captive_portal = false) {
@@ -735,19 +735,19 @@ function system_generate_lighty_config($filename,
}
if($avail > 97 and $avail < 128) {
- $max_procs = 1;
+ $max_procs = 2;
}
if($avail > 127 and $avail < 256) {
- $max_procs = 1;
+ $max_procs = 3;
}
if($avail > 255 and $avail < 384) {
- $max_procs = 3;
+ $max_procs = 4;
}
if($avail > 384) {
- $max_procs = 4;
+ $max_procs = 5;
}
if($captive_portal == true) {
OpenPOWER on IntegriCloud