diff options
author | Scott Ullrich <sullrich@pfSense.org> | 2010-01-02 03:43:27 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfSense.org> | 2010-01-02 03:43:27 -0500 |
commit | 4d372c9dafe9a883130c46b794a2782ccc479481 (patch) | |
tree | 42e49111256ea504ed1d04ffe4b7fed145b6f4ec | |
parent | 58f4786306b84e28d2fd0b7906793e6ac53d4816 (diff) | |
download | pfsense-4d372c9dafe9a883130c46b794a2782ccc479481.zip pfsense-4d372c9dafe9a883130c46b794a2782ccc479481.tar.gz |
Boos max_procs
-rw-r--r-- | etc/inc/system.inc | 10 |
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) { |