summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfSense.org>2010-01-02 03:44:18 -0500
committerScott Ullrich <sullrich@pfSense.org>2010-01-02 03:44:18 -0500
commit4cda5fb73bbfd242bdfbadbf0ac65eb803544c35 (patch)
tree2f0c54334689150cd6279d626eba9163282f9140 /etc/inc/system.inc
parentfefc8897d7c8bdd75c9f268bee6868522a6995d7 (diff)
downloadpfsense-4cda5fb73bbfd242bdfbadbf0ac65eb803544c35.zip
pfsense-4cda5fb73bbfd242bdfbadbf0ac65eb803544c35.tar.gz
Boos max_procs
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 3fa8ff3..586ed5f 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -753,19 +753,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 > 383) {
- $max_procs = 4;
+ $max_procs = 5;
}
if($captive_portal == true) {
OpenPOWER on IntegriCloud